Home
last modified time | relevance | path

Searched refs:event_handler (Results 1 – 2 of 2) sorted by relevance

/components/drivers/usb/cherryusb/core/
A Dusbd_core.c89 void (*event_handler)(uint8_t busid, uint8_t event); member
648 g_usbd_core[busid].event_handler(busid, USBD_EVENT_CONFIGURED);
1118 g_usbd_core[busid].event_handler(busid, USBD_EVENT_SOF);
1123 g_usbd_core[busid].event_handler(busid, USBD_EVENT_CONNECTED);
1129 g_usbd_core[busid].event_handler(busid, USBD_EVENT_DISCONNECTED);
1135 g_usbd_core[busid].event_handler(busid, USBD_EVENT_RESUME);
1142 g_usbd_core[busid].event_handler(busid, USBD_EVENT_SUSPEND);
1169 g_usbd_core[busid].event_handler(busid, USBD_EVENT_RESET);
1563 g_usbd_core[busid].event_handler = event_handler;
1566 g_usbd_core[busid].event_handler(busid, USBD_EVENT_INIT);
[all …]
A Dusbd_core.h118 int usbd_initialize(uint8_t busid, uintptr_t reg_base, void (*event_handler)(uint8_t busid, uint8_t…

Completed in 7 milliseconds