diff options
| author | hathach <[email protected]> | 2013-07-01 18:53:25 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-07-01 18:53:25 +0700 |
| commit | 3f9f3f08d2429ee51e1545464686f671253ac98f (patch) | |
| tree | 5805ea841c0eb2f108d87ad4a9f3518d75dd547c /tinyusb/core | |
| parent | d8bd749c75fe0a65507b624eba0b5a472225e0c7 (diff) | |
add cdc host driver close cdch_close
refractor
- add helper function in ehci qhd_next & qtd_next
- extract function qhd_create_pipe_handle
rename tusb_transfer_type_t to tusb_xfer_type_t
add some handling for stall
Diffstat (limited to 'tinyusb/core')
| -rw-r--r-- | tinyusb/core/tusb_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tinyusb/core/tusb_types.h b/tinyusb/core/tusb_types.h index ac3bb879f..34a110523 100644 --- a/tinyusb/core/tusb_types.h +++ b/tinyusb/core/tusb_types.h @@ -67,7 +67,7 @@ typedef enum { TUSB_XFER_ISOCHRONOUS , TUSB_XFER_BULK , TUSB_XFER_INTERRUPT -}tusb_transfer_type_t; +}tusb_xfer_type_t; typedef enum { TUSB_DIR_HOST_TO_DEV = 0, @@ -198,6 +198,8 @@ typedef enum tusb_device_state_{ typedef enum { TUSB_EVENT_XFER_COMPLETE, TUSB_EVENT_XFER_ERROR, + TUSB_EVENT_XFER_STALLED, + TUSB_EVENT_INTERFACE_OPEN, TUSB_EVENT_INTERFACE_CLOSE, |
