usbd_hw_poll

Type Alias usbd_hw_poll 

Source
pub type usbd_hw_poll = Option<unsafe extern "C" fn(dev: *mut usbd_device, callback: usbd_evt_callback)>;
Expand description

Polls USB hardware for the events

§Arguments

  • dev (direction in) - pointer to usb device structure
  • callback - callback to event processing subroutine

Aliased Type§

pub enum usbd_hw_poll {
    None,
    Some(unsafe extern "C" fn(*mut _usbd_device, Option<unsafe extern "C" fn(*mut _usbd_device, u8, u8)>)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut _usbd_device, Option<unsafe extern "C" fn(*mut _usbd_device, u8, u8)>))

Some value of type T.