summaryrefslogtreecommitdiff
path: root/tinyusb/device/dcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-06-11 16:01:30 +0700
committerhathach <[email protected]>2013-06-11 16:01:30 +0700
commit72b5b61597c91d146b332149dd4408b511c5441d (patch)
treef017b7250427b12ba2f64cf7d5a9e17320f7f28f /tinyusb/device/dcd.h
parent503d279af58538f8c00966c48f3ff862f4cde2a0 (diff)
able to xfer device descriptor on control endpoint of lpc176x
Diffstat (limited to 'tinyusb/device/dcd.h')
-rw-r--r--tinyusb/device/dcd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tinyusb/device/dcd.h b/tinyusb/device/dcd.h
index b6d2f6bd5..939a5107c 100644
--- a/tinyusb/device/dcd.h
+++ b/tinyusb/device/dcd.h
@@ -62,6 +62,7 @@ tusb_error_t dcd_controller_reset(uint8_t coreid) ATTR_WARN_UNUSED_RESULT;
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);
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);