diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-08-24 22:16:09 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-08-24 22:16:09 +0000 |
commit | 20c7cf9db9c06fb0f12bc4bc310c275a325665c9 (patch) | |
tree | 4504193e31c837a98e911a2bb7b8b121509179f9 /nuttx/include | |
parent | 2ac38983012ba13bdfb82eceb3e940e4ccac9ca3 (diff) | |
download | px4-firmware-20c7cf9db9c06fb0f12bc4bc310c275a325665c9.tar.gz px4-firmware-20c7cf9db9c06fb0f12bc4bc310c275a325665c9.tar.bz2 px4-firmware-20c7cf9db9c06fb0f12bc4bc310c275a325665c9.zip |
Update STM32 USB OTG FS host driver -- the driver is now marginally functional
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5051 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/include')
-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. |