summaryrefslogtreecommitdiff
path: root/src/device/usbd.h
diff options
context:
space:
mode:
authorRocky04 <[email protected]>2023-09-14 18:46:56 +0000
committerRocky04 <[email protected]>2023-09-14 18:46:56 +0000
commit997c29ba0517604859a13aa73a8a80341d549898 (patch)
tree57855d5c33ceec99d029fdd11f449070db3276f9 /src/device/usbd.h
parent427ecbbc53f033586c898e130c07d8116258a73d (diff)
SOF ISR control
Diffstat (limited to 'src/device/usbd.h')
-rw-r--r--src/device/usbd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h
index 423cd7053..3831cdfcf 100644
--- a/src/device/usbd.h
+++ b/src/device/usbd.h
@@ -96,6 +96,10 @@ bool tud_disconnect(void);
// Return false on unsupported MCUs
bool tud_connect(void);
+// Enable or disable the Start Of Frame callback support
+// Return false on unsupported MCUs
+bool tud_sof_cb_enable(bool en);
+
// Carry out Data and Status stage of control transfer
// - If len = 0, it is equivalent to sending status only
// - If len > wLength : it will be truncated