diff options
Diffstat (limited to 'tinyusb/host')
| -rw-r--r-- | tinyusb/host/hcd.c | 2 | ||||
| -rw-r--r-- | tinyusb/host/hcd.h | 13 |
2 files changed, 12 insertions, 3 deletions
diff --git a/tinyusb/host/hcd.c b/tinyusb/host/hcd.c index 25b378484..9ff96d5cf 100644 --- a/tinyusb/host/hcd.c +++ b/tinyusb/host/hcd.c @@ -39,7 +39,7 @@ #ifdef CFG_TUSB_HOST -TUSB_Error_t hcd_init() +TUSB_Error_t hcd_init(uint8_t coreid) { return tERROR_NONE; diff --git a/tinyusb/host/hcd.h b/tinyusb/host/hcd.h index a5fe31624..dfe659850 100644 --- a/tinyusb/host/hcd.h +++ b/tinyusb/host/hcd.h @@ -41,7 +41,7 @@ * \note TBD */ -/** \ingroup Group_TinyUSB +/** * \defgroup Group_HCD Host Controller Driver * \brief Host Controller Driver * @@ -56,6 +56,7 @@ #endif #include "common/common.h" +#include "core/tusb_types.h" /** \brief Initialize HCD * @@ -65,7 +66,15 @@ * \note */ -TUSB_Error_t hcd_init() ATTR_WARN_UNUSED_RESULT; +TUSB_Error_t hcd_init(uint8_t hostid) ATTR_WARN_UNUSED_RESULT; + +TUSB_Error_t hcd_pipe_open( + uint8_t hostid, uint8_t device_address, + + )ATTR_WARN_UNUSED_RESULT; +TUSB_Error_t hcd_pipe_close()ATTR_WARN_UNUSED_RESULT; +TUSB_Error_t hcd_pipe_transfer()ATTR_WARN_UNUSED_RESULT; +TUSB_Error_t hcd_pipe_cancel()ATTR_WARN_UNUSED_RESULT; #ifdef __cplusplus } |
