Decouple USB events from the USB interrupt handler. (#10437)
This commit is contained in:
parent
0fa2e7c790
commit
db11a2a1fd
3 changed files with 80 additions and 9 deletions
|
|
@ -37,6 +37,17 @@ void init_usb_driver(USBDriver *usbp);
|
|||
/* Restart the USB driver and bus */
|
||||
void restart_usb_driver(USBDriver *usbp);
|
||||
|
||||
/* ---------------
|
||||
* USB Event queue
|
||||
* ---------------
|
||||
*/
|
||||
|
||||
/* Initialisation of the FIFO */
|
||||
void usb_event_queue_init(void);
|
||||
|
||||
/* Task to dequeue and execute any handlers for the USB events on the main thread */
|
||||
void usb_event_queue_task(void);
|
||||
|
||||
/* ---------------
|
||||
* Keyboard header
|
||||
* ---------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue