diff options
| author | hathach <[email protected]> | 2018-07-25 21:21:33 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-07-25 21:21:33 +0700 |
| commit | 544f9c1315e318884f62565dc1698a3f8c4412be (patch) | |
| tree | 2bb98ae25d765ec8150c6cd6431b6a9650e508f1 /src/device/dcd.h | |
| parent | 936579462384a977ff637c111fce78535149df2d (diff) | |
add dcd_edpt_stalled() API
- implement control endpoint get status, endpoint set feature
Diffstat (limited to 'src/device/dcd.h')
| -rw-r--r-- | src/device/dcd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h index bee787d03..cbce366cc 100644 --- a/src/device/dcd.h +++ b/src/device/dcd.h @@ -93,6 +93,7 @@ bool dcd_edpt_busy (uint8_t rhport, uint8_t ep_addr); void dcd_edpt_stall (uint8_t rhport, uint8_t ep_addr);
void dcd_edpt_clear_stall (uint8_t rhport, uint8_t ep_addr);
+bool dcd_edpt_stalled (uint8_t rhport, uint8_t ep_addr);
//------------- Control Endpoint -------------//
bool dcd_control_xfer (uint8_t rhport, tusb_dir_t dir, uint8_t * buffer, uint16_t length);
|
