diff options
author | Diego Ismirlian <dismirlian (at) google's mail.com> | 2017-10-29 17:22:24 -0300 |
---|---|---|
committer | Diego Ismirlian <dismirlian (at) google's mail.com> | 2017-10-29 17:22:24 -0300 |
commit | bfc58058862f1d398543fff3d034369537392e38 (patch) | |
tree | c284862d43c222cebb2e277d657e5f4a91a5467d /os/hal/include/hal_usbh.h | |
parent | c466db250c1f2254c44e1ca067a93f489dabf931 (diff) | |
parent | 5cea7f11ecadf4c530a2f722eb62ae6d1b5a1506 (diff) | |
download | ChibiOS-Contrib-bfc58058862f1d398543fff3d034369537392e38.tar.gz ChibiOS-Contrib-bfc58058862f1d398543fff3d034369537392e38.tar.bz2 ChibiOS-Contrib-bfc58058862f1d398543fff3d034369537392e38.zip |
Merge branch 'master' of https://github.com/dismirlian/ChibiOS-Contrib
Diffstat (limited to 'os/hal/include/hal_usbh.h')
-rw-r--r-- | os/hal/include/hal_usbh.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/os/hal/include/hal_usbh.h b/os/hal/include/hal_usbh.h index 1ed6416..6a6be21 100644 --- a/os/hal/include/hal_usbh.h +++ b/os/hal/include/hal_usbh.h @@ -52,7 +52,9 @@ #define HAL_USBH_USE_ADDITIONAL_CLASS_DRIVERS FALSE #endif +#ifndef HAL_USBH_USE_IAD #define HAL_USBH_USE_IAD HAL_USBH_USE_UVC +#endif #if (HAL_USE_USBH == TRUE) || defined(__DOXYGEN__) @@ -299,6 +301,12 @@ extern "C" { } /* Synchronous API */ + usbh_urbstatus_t usbhSynchronousTransfer(usbh_ep_t *ep, + void *data, + uint32_t len, + uint32_t *actual_len, + systime_t timeout); + usbh_urbstatus_t usbhBulkTransfer(usbh_ep_t *ep, void *data, uint32_t len, |