diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index 03012038db..c392167edc 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -2163,7 +2163,7 @@ extern void up_ledoff(int led); USB Host Class Driver Registry. The NuttX USB host infrastructure includes a registry. During its initialization, each USB host class driver must call the interface, usbhost_registerclass() - in order add its interface to the register. + in order add its interface to the registery. Later, when a USB device is connected, the USB host controller will look up the USB host class driver that is needed to support the connected device in this registry.

@@ -2196,9 +2196,9 @@ extern void up_ledoff(int led); As part of this enumeration process, the driver will (1) get the device's configuration descriptor, (2) extract the class ID info from the configuration descriptor, - (3) call usbhost_findclass() to find the class that supports this device, - (4) call the create() method on the struct usbhost_registry_s interface to get a class instance, and - finally (5) call the connect() method of the struct usbhost_class_s interface. + (3) call usbhost_findclass() to find the class that supports this device, + (4) call the create() method on the struct usbhost_registry_s interface to get a class instance, and + finally (5) call the connect() method of the struct usbhost_class_s interface. After that, the class is in charge of the sequence of operations.