summaryrefslogtreecommitdiff
path: root/tinyusb/host/hcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-01-22 17:41:06 +0700
committerhathach <[email protected]>2013-01-22 17:41:06 +0700
commit38ce3f7534ec9e3e0b10b8923d7d17e437463e86 (patch)
tree4eb3c2e065610c6b1dadc14a9c98e421041c5546 /tinyusb/host/hcd.h
parentcfe7a3d23b4639c3578b166fc865450bc439d82c (diff)
start to support
- usbd host - osal some global define #define TUSB_CFG_HOST_CONTROLLER_NUM #define TUSB_CFG_HOST_DEVICE_MAX #define TUSB_CFG_CONFIGURATION_MAX rename & refractor HID type structure & enum use CException to test asssertion library add test for hid_host_keyboard with usbd configure get & osal queue get stubs update test for assertion library refractor ASSERT_STATUS in assertion library update tusb_error_t values rename usb basic type & enum in tusb_types.h and std_descriptors.h
Diffstat (limited to 'tinyusb/host/hcd.h')
-rw-r--r--tinyusb/host/hcd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tinyusb/host/hcd.h b/tinyusb/host/hcd.h
index 1e5b338ae..63749d75b 100644
--- a/tinyusb/host/hcd.h
+++ b/tinyusb/host/hcd.h
@@ -58,6 +58,9 @@
#include "common/common.h"
#include "core/tusb_types.h"
+typedef uint32_t pipe_handle_t;
+
+#if 0
/** \brief Initialize HCD
*
* \param[in] para1
@@ -75,6 +78,7 @@ tusb_error_t hcd_init(uint8_t hostid) 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;
+#endif
#ifdef __cplusplus
}