diff options
| author | hathach <[email protected]> | 2013-11-08 12:03:32 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-11-08 12:03:32 +0700 |
| commit | 15d3a418bd0d109d926ea95c3be1bbc83757734b (patch) | |
| tree | ce38570975a7009624c80075101cb8cc84083c2e /tinyusb/device/dcd.h | |
| parent | 3945869cc267214a24fae94fe530fc3197348607 (diff) | |
add windows driver for cdc
add simple echo cdc serial demo
add cdc device send/receive API
refractor descriptor
refractor cdc.h
add usbd driver function
- init
- bus_reset
Diffstat (limited to 'tinyusb/device/dcd.h')
| -rw-r--r-- | tinyusb/device/dcd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tinyusb/device/dcd.h b/tinyusb/device/dcd.h index 149d74f52..5f90bde1e 100644 --- a/tinyusb/device/dcd.h +++ b/tinyusb/device/dcd.h @@ -92,6 +92,7 @@ endpoint_handle_t dcd_pipe_open(uint8_t coreid, tusb_descriptor_endpoint_t const tusb_error_t dcd_pipe_queue_xfer(endpoint_handle_t edpt_hdl, void * buffer, uint16_t total_bytes) ATTR_WARN_UNUSED_RESULT; // only queue, not transferring yet tusb_error_t dcd_pipe_xfer(endpoint_handle_t edpt_hdl, void * buffer, uint16_t total_bytes, bool int_on_complete) ATTR_WARN_UNUSED_RESULT; tusb_error_t dcd_pipe_stall(endpoint_handle_t edpt_hdl) ATTR_WARN_UNUSED_RESULT; +bool dcd_pipe_is_busy(endpoint_handle_t edpt_hdl) ATTR_WARN_UNUSED_RESULT ; // TODO coreid + endpoint address are part of endpoint handle, not endpoint handle, data toggle also need to be reset tusb_error_t dcd_pipe_clear_stall(uint8_t coreid, uint8_t edpt_addr); |
