diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-08-12 14:44:06 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-08-12 14:44:06 -0600 |
commit | 3b04d08043742b9e65cf38d45988b35bff91daed (patch) | |
tree | ca74e5710a1564da64e94e52b34210f6d8401947 /nuttx/Documentation/NuttxPortingGuide.html | |
parent | d5cee29af56c68dceeb8e26f6f4081c9d3c66988 (diff) | |
download | px4-nuttx-3b04d08043742b9e65cf38d45988b35bff91daed.tar.gz px4-nuttx-3b04d08043742b9e65cf38d45988b35bff91daed.tar.bz2 px4-nuttx-3b04d08043742b9e65cf38d45988b35bff91daed.zip |
First of several changes needed to support multiple USB host root hubs
Diffstat (limited to 'nuttx/Documentation/NuttxPortingGuide.html')
-rw-r--r-- | nuttx/Documentation/NuttxPortingGuide.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index a77df7f0f..71bb5842c 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -12,7 +12,7 @@ <h1><big><font color="#3c34ec"> <i>NuttX RTOS Porting Guide</i> </font></big></h1> - <p>Last Updated: July 26, 2013</p> + <p>Last Updated: August 12, 2013</p> </td> </tr> </table> @@ -3433,6 +3433,8 @@ extern void up_ledoff(int led); <p> <b>Examples</b>: <code>arch/arm/src/lpc17xx/lpc17_usbhost.c</code>. + <code>arch/arm/src/stm32/stm32_otgfshost.c</code>. + <code>arch/arm/src/sama5/sam_ohci.c</code>. </p> </li> <li> @@ -3469,7 +3471,7 @@ extern void up_ledoff(int led); <ul> <li> <p> - <code>int (*wait)(FAR struct usbhost_driver_s *drvr, bool connected);</code> + <code>int (*wait)(FAR struct usbhost_driver_s *drvr, FAR const bool *connected);</code> </p> <p> Wait for a device to be connected or disconnected. @@ -3477,10 +3479,10 @@ extern void up_ledoff(int led); </li> <li> <p> - <code>int (*enumerate)(FAR struct usbhost_driver_s *drvr);</code> + <code>int (*enumerate)(FAR struct usbhost_driver_s *drvr, int rhpndx);</code> </p> <p> - Enumerate the connected device. + Enumerate the device connected to a root hub port. 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, |