summaryrefslogtreecommitdiff
path: root/tinyusb/device/dcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-03-11 12:31:24 +0700
committerhathach <[email protected]>2018-03-11 12:31:24 +0700
commit6392903fb2b81c24bcbdfea323f58aaaf94e15ce (patch)
tree7924877c16956c21f31dc86518cf9d319284e9a9 /tinyusb/device/dcd.h
parent23caef859c862a9f94de5d581371b2690f175ea9 (diff)
refactor dcd layer
Diffstat (limited to 'tinyusb/device/dcd.h')
-rw-r--r--tinyusb/device/dcd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tinyusb/device/dcd.h b/tinyusb/device/dcd.h
index 2330437b8..344ec4f3c 100644
--- a/tinyusb/device/dcd.h
+++ b/tinyusb/device/dcd.h
@@ -79,6 +79,7 @@ void hal_dcd_set_config (uint8_t port, uint8_t config_num);
/*------------- Event function -------------*/
void hal_dcd_bus_event(uint8_t port, usbd_bus_event_type_t bus_event);
void hal_dcd_setup_received(uint8_t port, uint8_t const* p_request);
+void usbd_xfer_isr(endpoint_handle_t edpt_hdl, tusb_event_t event, uint32_t xferred_bytes);
//------------- PIPE API -------------//
bool hal_dcd_control_xfer(uint8_t port, tusb_direction_t dir, uint8_t * p_buffer, uint16_t length, bool int_on_complete);