Type Definition flipperzero_sys::usbd_cfg_callback
source · pub type usbd_cfg_callback = Option<unsafe extern "C" fn(dev: *mut usbd_device, cfg: u8) -> usbd_respond>;Expand description
Re-export bindings \brief USB set configuration callback function \details called when SET_CONFIGURATION request issued \param[in] dev pointer to USB device \param[in] cfg configuration number. \note if config is 0 device endpoints should be de-configured \return TRUE if success