diff options
| author | hathach <[email protected]> | 2013-09-23 00:24:51 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-09-23 00:24:51 +0700 |
| commit | 85f3ad9d3becf277400ec6c865281ada43ae19a4 (patch) | |
| tree | 2bb4161fc85688d954ad538663f5aa249017bdc3 /tinyusb/host/hcd.h | |
| parent | a8a10e86502617313ced924691a014d94bd54c82 (diff) | |
refractor hcd API to allow queue xfer without actually transferring data
Diffstat (limited to 'tinyusb/host/hcd.h')
| -rw-r--r-- | tinyusb/host/hcd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tinyusb/host/hcd.h b/tinyusb/host/hcd.h index b37378ac7..61642d95b 100644 --- a/tinyusb/host/hcd.h +++ b/tinyusb/host/hcd.h @@ -95,6 +95,7 @@ tusb_error_t hcd_pipe_control_xfer(uint8_t dev_addr, tusb_control_request_t con tusb_error_t hcd_pipe_control_close(uint8_t dev_addr) ATTR_WARN_UNUSED_RESULT; pipe_handle_t hcd_pipe_open(uint8_t dev_addr, tusb_descriptor_endpoint_t const * endpoint_desc, uint8_t class_code) ATTR_WARN_UNUSED_RESULT; +tusb_error_t hcd_pipe_queue_xfer(pipe_handle_t pipe_hdl, uint8_t buffer[], uint16_t total_bytes) ATTR_WARN_UNUSED_RESULT; // only queue, not transferring yet tusb_error_t hcd_pipe_xfer(pipe_handle_t pipe_hdl, uint8_t buffer[], uint16_t total_bytes, bool int_on_complete) ATTR_WARN_UNUSED_RESULT; tusb_error_t hcd_pipe_close(pipe_handle_t pipe_hdl) /*ATTR_WARN_UNUSED_RESULT*/; bool hcd_pipe_is_idle(pipe_handle_t pipe_hdl); |
