diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index 71bb5842c70..adfc5d36e9e 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -12,7 +12,7 @@
Last Updated: August 12, 2013
+Last Updated: August 13, 2013
@@ -3426,9 +3426,11 @@ extern void up_ledoff(int led);
- struct usbhost_driver_s.
- Each USB host controller driver must implement an instance of struct usbhost_driver_s.
- This structure is defined in include/nuttx/usb/usbhost.h.
+ struct usbhost_driver_s and struct usbhost_connection_s.
+ Each USB host controller driver must implement an instance of struct usbhost_driver_s and struct usbhost_connection_s:
+ struct usbhost_driver_s provides the interface between the USB host driver and the USB class driver;
+ struct usbhost_connection_s provides the interface between the USB host driver and platform-specific connection management and device enumeration logoc.
+ These structures are defined in include/nuttx/usb/usbhost.h.
Examples: @@ -3471,7 +3473,7 @@ extern void up_ledoff(int led);
- int (*wait)(FAR struct usbhost_driver_s *drvr, FAR const bool *connected);
+ int (*wait)(FAR struct usbhost_connection_s *drvr, FAR const bool *connected);
Wait for a device to be connected or disconnected. @@ -3479,7 +3481,7 @@ extern void up_ledoff(int led);
- int (*enumerate)(FAR struct usbhost_driver_s *drvr, int rhpndx);
+ int (*enumerate)(FAR struct usbhost_connection_s *drvr, int rhpndx);
Enumerate the device connected to a root hub port.