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 devicereq(direction in) - pointer to usb request structure
Note: usbd_device->complete_callback will be set to NULL after this callback completion.
Aliased Type§
pub enum usbd_rqc_callback {
None,
Some(unsafe extern "C" fn(*mut _usbd_device, *mut usbd_ctlreq)),
}Variants§
None
No value.
Some(unsafe extern "C" fn(*mut _usbd_device, *mut usbd_ctlreq))
Some value of type T.