SOF ISR control

This commit is contained in:
Rocky04
2023-09-14 18:46:56 +00:00
parent 427ecbbc53
commit 997c29ba05
2 changed files with 44 additions and 5 deletions

View File

@@ -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