usbd_hw_get_serialno

Type Alias usbd_hw_get_serialno 

Source
pub type usbd_hw_get_serialno = Option<unsafe extern "C" fn(buffer: *mut c_void) -> u16>;
Expand description

Makes a string descriptor contains unique serial number from hardware ID’s

§Arguments

  • buffer (direction in) - pointer to buffer for the descriptor

§Returns

of the descriptor in bytes

Aliased Type§

pub enum usbd_hw_get_serialno {
    None,
    Some(unsafe extern "C" fn(*mut c_void) -> u16),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void) -> u16)

Some value of type T.