Type Definition flipper0::ffi::usbd_evt_callback

source ·
pub type usbd_evt_callback = Option<unsafe extern "C" fn(*mut _usbd_device, u8, u8)>;
Expand description

\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.