summaryrefslogtreecommitdiff
path: root/tinyusb/device/usbd_dcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-03-03 16:24:43 +0700
committerhathach <[email protected]>2018-03-03 16:24:43 +0700
commit185b240f033fc692e3dfe1593895a9c28ee41c7b (patch)
treeae9e82b2df3fd9d9c95c322e2479c09b54db2dce /tinyusb/device/usbd_dcd.h
parent394302c8cb1b712d55929ae19805a96d560376db (diff)
rename usbd_dcd_bus_event_isr to hal_dcd_bus_event
Diffstat (limited to 'tinyusb/device/usbd_dcd.h')
-rw-r--r--tinyusb/device/usbd_dcd.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/tinyusb/device/usbd_dcd.h b/tinyusb/device/usbd_dcd.h
index 8bc3a5fbd..a32fffae3 100644
--- a/tinyusb/device/usbd_dcd.h
+++ b/tinyusb/device/usbd_dcd.h
@@ -55,13 +55,7 @@ enum {
USBD_INTERFACE_NUM_MAX = 16 // USB specs specify up to 16 endpoints per device
};
-typedef enum
-{
- USBD_BUS_EVENT_RESET = 1,
- USBD_BUS_EVENT_UNPLUGGED,
- USBD_BUS_EVENT_SUSPENDED,
- USBD_BUS_EVENT_RESUME
-}usbd_bus_event_type_t;
+
typedef struct {
volatile uint8_t state;
@@ -74,9 +68,6 @@ extern usbd_device_info_t usbd_devices[CONTROLLER_DEVICE_NUMBER];
//--------------------------------------------------------------------+
// callback from DCD ISR
//--------------------------------------------------------------------+
-void usbd_dcd_bus_event_isr(uint8_t coreid, usbd_bus_event_type_t bus_event);
-void hal_dcd_setup_received(uint8_t coreid, uint8_t const* p_request);
-
void usbd_xfer_isr(endpoint_handle_t edpt_hdl, tusb_event_t event, uint32_t xferred_bytes);