diff options
| author | hathach <[email protected]> | 2013-03-23 11:34:51 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-03-23 11:34:51 +0700 |
| commit | d7ba86c85eb8cb5b15de53e503e75d04bf0cc836 (patch) | |
| tree | 085acba58b74380a569184840bfd1eb100a98044 /tinyusb/host/hcd.h | |
| parent | 0c6d406ddf68ae144982132d21349880896c2f74 (diff) | |
refractor
- rename usbh_device_info_t.status to state
- rename enum TUSB_DEVICE_STATUS_* to TUSB_DEVICE_STATE_*
Diffstat (limited to 'tinyusb/host/hcd.h')
| -rw-r--r-- | tinyusb/host/hcd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tinyusb/host/hcd.h b/tinyusb/host/hcd.h index 98b5e5c5c..129a4640f 100644 --- a/tinyusb/host/hcd.h +++ b/tinyusb/host/hcd.h @@ -66,6 +66,11 @@ typedef struct { uint8_t index; } pipe_handle_t; +typedef enum { + BUS_XFER_COMPLETE, + BUS_XFER_ERROR +}usb_bus_event_t; + //--------------------------------------------------------------------+ // USBH-HCD API //--------------------------------------------------------------------+ |
