diff options
| author | hathach <[email protected]> | 2013-06-14 18:22:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-06-14 18:22:40 +0700 |
| commit | 40b65b265c4a8d2de06b9164829169d629dbd847 (patch) | |
| tree | 7b08fbfce9afbd5f9e99b68cd479b8e867a3b048 /tinyusb/device/dcd.h | |
| parent | 4103cc374f8ee94a2d4d308cad5c1e24221b8ae7 (diff) | |
implement hidd_control_request including std & class specific to interface number.
refractor usbd_setup_received
Diffstat (limited to 'tinyusb/device/dcd.h')
| -rw-r--r-- | tinyusb/device/dcd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tinyusb/device/dcd.h b/tinyusb/device/dcd.h index 79f2e1fc8..01eae9413 100644 --- a/tinyusb/device/dcd.h +++ b/tinyusb/device/dcd.h @@ -63,6 +63,8 @@ void dcd_controller_connect(uint8_t coreid); void dcd_isr(uint8_t coreid); tusb_error_t dcd_pipe_control_write(uint8_t coreid, void const * buffer, uint16_t length); +tusb_error_t dcd_pipe_control_read(uint8_t coreid, void const * buffer, uint16_t length); + void dcd_pipe_control_write_zero_length(uint8_t coreid); tusb_error_t dcd_endpoint_configure(uint8_t coreid, tusb_descriptor_endpoint_t const * p_endpoint_desc) ATTR_WARN_UNUSED_RESULT; void dcd_device_set_address(uint8_t coreid, uint8_t dev_addr); |
