summaryrefslogtreecommitdiff
path: root/nuttx/include/nuttx/usb/usbhost.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-01-16 14:02:42 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-01-16 14:02:42 +0000
commitb7145b509d269f4a5ffcecad9a969c6a0a480f20 (patch)
tree035ba62000a7edb601c2a7b5243176dd8228c096 /nuttx/include/nuttx/usb/usbhost.h
parent979c0410e02cb6217fdc87bff44d17c3182ed1d7 (diff)
downloadnuttx-b7145b509d269f4a5ffcecad9a969c6a0a480f20.tar.gz
nuttx-b7145b509d269f4a5ffcecad9a969c6a0a480f20.tar.bz2
nuttx-b7145b509d269f4a5ffcecad9a969c6a0a480f20.zip
Make space for int/isoc endpoint support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3254 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/nuttx/usb/usbhost.h')
-rw-r--r--nuttx/include/nuttx/usb/usbhost.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/include/nuttx/usb/usbhost.h b/nuttx/include/nuttx/usb/usbhost.h
index 8d77d12c6..b0780fa3c 100644
--- a/nuttx/include/nuttx/usb/usbhost.h
+++ b/nuttx/include/nuttx/usb/usbhost.h
@@ -488,7 +488,8 @@ struct usbhost_class_s
};
/* This structure describes one endpoint. It is used as an input to the
- * allocep() method.
+ * allocep() method. Most of this information comes from the endpoint
+ * descriptor.
*/
struct usbhost_epdesc_s
@@ -497,6 +498,7 @@ struct usbhost_epdesc_s
bool in; /* Direction: true->IN */
uint8_t funcaddr; /* USB address of function containing endpoint */
uint8_t xfrtype; /* Transfer type. See SB_EP_ATTR_XFER_* in usb.h */
+ uint8_t interval; /* Polling interval */
uint16_t mxpacketsize; /* Max packetsize */
};