diff options
| author | hathach <[email protected]> | 2013-01-29 11:06:30 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-01-29 11:06:30 +0700 |
| commit | 6db8af20236cfecba5aef54da148309982b28396 (patch) | |
| tree | 7ab84b2947702c8860d799b1e4234d6af37e8609 /tinyusb/host/usbd_host.h | |
| parent | 06f923c7bb95e146ee545194eba1c9357c4baf45 (diff) | |
update usbh_init and test
Diffstat (limited to 'tinyusb/host/usbd_host.h')
| -rw-r--r-- | tinyusb/host/usbd_host.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tinyusb/host/usbd_host.h b/tinyusb/host/usbd_host.h index ece9930cd..d218fbd15 100644 --- a/tinyusb/host/usbd_host.h +++ b/tinyusb/host/usbd_host.h @@ -135,6 +135,13 @@ typedef enum { } pipe_status_t; typedef uint32_t tusb_handle_device_t; + +typedef struct { + uint8_t core_id; + uint8_t hub_address; + uint8_t hub_port; +} usbh_enumerate_t; + //--------------------------------------------------------------------+ // INTERNAL OBJECT & FUNCTION DECLARATION //--------------------------------------------------------------------+ @@ -153,8 +160,9 @@ tusbh_device_status_t tusbh_device_status_get (tusb_handle_device_t const device //--------------------------------------------------------------------+ #ifdef _TINY_USB_SOURCE_FILE_ -void usbh_init(void); +tusb_error_t usbh_init(void); pipe_status_t usbh_pipe_status_get(pipe_handle_t pipe_hdl) ATTR_WARN_UNUSED_RESULT; +void usbh_enum_task(void); #endif |
