summaryrefslogtreecommitdiff
path: root/tinyusb/host/hcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-03-05 23:08:00 +0700
committerhathach <[email protected]>2013-03-05 23:08:00 +0700
commitb3775b631bf60c15c1d4917cba6a35e1f421bebd (patch)
tree29ff0625bbc3b201ec1297ac474f7a2dee07f2c0 /tinyusb/host/hcd.h
parentc0bbc2aded3fd469efb2d55115cd6f398ec08db1 (diff)
add test & code for open bulk transfer to hcd_pipe_open()
Diffstat (limited to 'tinyusb/host/hcd.h')
-rw-r--r--tinyusb/host/hcd.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/tinyusb/host/hcd.h b/tinyusb/host/hcd.h
index c6c511e09..d180d1c58 100644
--- a/tinyusb/host/hcd.h
+++ b/tinyusb/host/hcd.h
@@ -60,8 +60,11 @@
//--------------------------------------------------------------------+
// MACRO CONSTANT TYPEDEF
//--------------------------------------------------------------------+
-typedef uint32_t pipe_handle_t;
-
+typedef struct {
+ uint8_t dev_addr;
+ uint8_t xfer_type;
+ uint8_t index;
+} pipe_handle_t;
//--------------------------------------------------------------------+
// USBH-HCD API