diff options
| author | hathach <[email protected]> | 2013-11-01 22:00:39 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-11-01 22:00:39 +0700 |
| commit | d02ef073376d3f57cbaf9e494ffd27ee113f1cf6 (patch) | |
| tree | 158914164dc735b1d1374400c6d273da7969655e /tinyusb/device/dcd.h | |
| parent | f2ae5b541faba4b0ea28b010cbf9eda53ff59d70 (diff) | |
added support for
- sense data scsi_sense_fixed_data_t
- read format capacity scsi_read_format_capacity_data_t
change msc device callback to support actual response
fix dcd_pipe_clear_stall also reset toggle
Diffstat (limited to 'tinyusb/device/dcd.h')
| -rw-r--r-- | tinyusb/device/dcd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tinyusb/device/dcd.h b/tinyusb/device/dcd.h index 744c77bb7..b4205d542 100644 --- a/tinyusb/device/dcd.h +++ b/tinyusb/device/dcd.h @@ -93,7 +93,9 @@ 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; -tusb_error_t dcd_pipe_clear_stall(uint8_t coreid, uint8_t edpt_addr); // TODO coreid + endpoint address are part of endpoint handle, not endpoint handle + +// 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); #ifdef __cplusplus } |
