pub type usbd_rqc_callback = Option<unsafe extern "C" fn(dev: *mut usbd_device, req: *mut usbd_ctlreq)>;
Expand description

USB control transfer completed callback function.

Arguments

  • dev - [Direction: In] pointer to USB device
  • req - [Direction: In] pointer to usb request structure

Notes

  • usbd_device->complete_callback will be set to NULL after this callback completion.