From f2ae5b541faba4b0ea28b010cbf9eda53ff59d70 Mon Sep 17 00:00:00 2001 From: hathach Date: Fri, 1 Nov 2013 14:44:14 +0700 Subject: add dcd pipe clear stall - tusb_error_t dcd_pipe_clear_stall(uint8_t coreid, uint8_t edpt_addr) but does not take endpoint_handle_t as input complete msc device driver add usbd clear stall endpoint --- tinyusb/device/dcd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tinyusb/device/dcd.h') diff --git a/tinyusb/device/dcd.h b/tinyusb/device/dcd.h index fa947bf11..744c77bb7 100644 --- a/tinyusb/device/dcd.h +++ b/tinyusb/device/dcd.h @@ -93,6 +93,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; +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 #ifdef __cplusplus } -- cgit v1.3.1