Type Definition flipperzero_sys::usbd_evt_callback
source · pub type usbd_evt_callback = Option<unsafe extern "C" fn(dev: *mut usbd_device, event: u8, ep: u8)>;Expand description
Re-export bindings \brief Generic USB device event callback for events and endpoints processing \param[in] dev pointer to USB device \param event \ref USB_EVENTS “USB event” \param ep active endpoint number \note endpoints with same indexes i.e. 0x01 and 0x81 shares same callback.