summaryrefslogtreecommitdiff
path: root/tinyusb/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2012-12-03 16:51:14 +0700
committerhathach <[email protected]>2012-12-03 16:51:14 +0700
commitb698b09a67251c8ed8ed81120e85ea21c5d88b10 (patch)
tree5da27b3529f66f07095623ef160279b5cb5e9760 /tinyusb/host
parentaff644b7c3083cb3b943276d046729b80233e9f9 (diff)
fix some doxygen settings and stuffs add prepacked for IAR compiler
Diffstat (limited to 'tinyusb/host')
-rw-r--r--tinyusb/host/hcd.c2
-rw-r--r--tinyusb/host/hcd.h13
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
}