diff options
| author | hathach <[email protected]> | 2013-03-05 23:08:00 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-03-05 23:08:00 +0700 |
| commit | b3775b631bf60c15c1d4917cba6a35e1f421bebd (patch) | |
| tree | 29ff0625bbc3b201ec1297ac474f7a2dee07f2c0 /tinyusb/host/hcd.h | |
| parent | c0bbc2aded3fd469efb2d55115cd6f398ec08db1 (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.h | 7 |
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 |
