usb_event_cb() function
USB Host Client event callback Handling of USB device connection/disconnection to/from root HUB.
Syntax
static void usb_event_cb(const usb_host_client_event_msg_t *event_msg,
void *arg);
Arguments
event_msg
Event message type
arg
Caller's argument (not used in this driver)