summaryrefslogtreecommitdiff
path: root/tinyusb/tusb_dcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-03-20 18:33:06 +0700
committerhathach <[email protected]>2018-03-20 18:33:28 +0700
commit2f0fcf80e0b2d49116a019c02da5bc63dadc763b (patch)
tree770f629b6876ad3a4ad29b282d98229280f1ce93 /tinyusb/tusb_dcd.h
parent7a628f4dfca4a6cf3b086439bca6ca0361b92b39 (diff)
nrf52 cdc example work on nrf52840pdk
- add tud_cdc_flush(), auto flush with sof is enabled by default. -
Diffstat (limited to 'tinyusb/tusb_dcd.h')
-rw-r--r--tinyusb/tusb_dcd.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/tinyusb/tusb_dcd.h b/tinyusb/tusb_dcd.h
index 635522b95..5f79693ca 100644
--- a/tinyusb/tusb_dcd.h
+++ b/tinyusb/tusb_dcd.h
@@ -87,13 +87,11 @@ void tusb_dcd_control_stall (uint8_t port);
bool tusb_dcd_edpt_open (uint8_t port, tusb_descriptor_endpoint_t const * p_endpoint_desc);
bool tusb_dcd_edpt_xfer (uint8_t port, uint8_t edpt_addr, uint8_t * buffer, uint16_t total_bytes, bool int_on_complete);
bool tusb_dcd_edpt_queue_xfer (uint8_t port, uint8_t edpt_addr, uint8_t * buffer, uint16_t total_bytes); // only queue, not transferring yet
+bool tusb_dcd_edpt_busy (uint8_t port, uint8_t edpt_addr);
void tusb_dcd_edpt_stall (uint8_t port, uint8_t edpt_addr);
void tusb_dcd_edpt_clear_stall (uint8_t port, uint8_t edpt_addr);
-// TODO may remove
-bool tusb_dcd_edpt_busy (uint8_t port, uint8_t edpt_addr);
-
#ifdef __cplusplus
}
#endif