diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-08-24 22:16:09 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-08-24 22:16:09 +0000 |
commit | e1d2e02765b287c4a2966fa9e9e1cad7ea815bf8 (patch) | |
tree | 4504193e31c837a98e911a2bb7b8b121509179f9 /nuttx/include/nuttx/usb/usbhost.h | |
parent | e55c8494b069f59b0c1380c50cf0993310085dae (diff) | |
download | nuttx-e1d2e02765b287c4a2966fa9e9e1cad7ea815bf8.tar.gz nuttx-e1d2e02765b287c4a2966fa9e9e1cad7ea815bf8.tar.bz2 nuttx-e1d2e02765b287c4a2966fa9e9e1cad7ea815bf8.zip |
Update STM32 USB OTG FS host driver -- the driver is now marginally functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5051 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/nuttx/usb/usbhost.h')
-rw-r--r-- | nuttx/include/nuttx/usb/usbhost.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/include/nuttx/usb/usbhost.h b/nuttx/include/nuttx/usb/usbhost.h index b28db9551..acfe9a829 100644 --- a/nuttx/include/nuttx/usb/usbhost.h +++ b/nuttx/include/nuttx/usb/usbhost.h @@ -448,7 +448,13 @@ * * Returned Values: * On success, zero (OK) is returned. On a failure, a negated errno value is - * returned indicating the nature of the failure + * returned indicating the nature of the failure: + * + * EAGAIN - If devices NAKs the transfer (or NYET or other error where + * it may be appropriate to restart the entire transaction). + * EPERM - If the endpoint stalls + * EIO - On a TX or data toggle error + * EPIPE - Overrun errors * * Assumptions: * This function will *not* be called from an interrupt handler. |