diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-01-09 15:35:08 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-01-09 15:35:08 +0000 |
commit | 29c706c9e17447ef58198c36168457c37a00ff4e (patch) | |
tree | 9d83ade9fa10c17da6252dc45d29bd5bf1c8ed70 /nuttx/include | |
parent | 5bdca5bec60da89395a77402c0eea7d0c627eb98 (diff) | |
download | px4-nuttx-29c706c9e17447ef58198c36168457c37a00ff4e.tar.gz px4-nuttx-29c706c9e17447ef58198c36168457c37a00ff4e.tar.bz2 px4-nuttx-29c706c9e17447ef58198c36168457c37a00ff4e.zip |
Basic USB host functionality in place
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3236 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rwxr-xr-x | nuttx/include/nuttx/usb/ohci.h | 2 | ||||
-rw-r--r-- | nuttx/include/nuttx/usb/usbhost.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/include/nuttx/usb/ohci.h b/nuttx/include/nuttx/usb/ohci.h index c20e34b3e..c19b2d3d8 100755 --- a/nuttx/include/nuttx/usb/ohci.h +++ b/nuttx/include/nuttx/usb/ohci.h @@ -401,7 +401,7 @@ struct ohci_gtd_s struct ohci_itd_s { - volatile uint32_t status; /* TD status/control bits */ + volatile uint32_t ctrl; /* TD status/control bits */ volatile uint32_t bp0; /* Buffer page 0 (BP0 */ volatile uint32_t nexttd; /* Next TD (NextTD) */ volatile uint32_t be; /* Buffer End (BE) */ diff --git a/nuttx/include/nuttx/usb/usbhost.h b/nuttx/include/nuttx/usb/usbhost.h index 2f02056f6..a83048f68 100644 --- a/nuttx/include/nuttx/usb/usbhost.h +++ b/nuttx/include/nuttx/usb/usbhost.h @@ -526,10 +526,10 @@ struct usbhost_driver_s struct usbhost_epdesc_s { uint8_t addr : 4; /* Endpoint address */ - uint8_t pad1 : 3; + uint8_t pad : 3; uint8_t in : 1; /* Direction: 1->IN */ uint8_t funcaddr : 7; /* USB address of function containing endpoint */ - uint8_t pad2 : 1; + uint8_t toggle : 1; /* Last toggle (modified by the driver) */ uint16_t mxpacketsize; /* Max packetsize */ }; |