usbd_hw_connect

Type Alias usbd_hw_connect 

Source
pub type usbd_hw_connect = Option<unsafe extern "C" fn(connect: bool) -> u8>;
Expand description

Connects or disconnects USB hardware to/from usb host

§Arguments

  • connect - Connects USB to host if TRUE, disconnects otherwise

§Returns

lanes connection status.

Aliased Type§

pub enum usbd_hw_connect {
    None,
    Some(unsafe extern "C" fn(bool) -> u8),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(bool) -> u8)

Some value of type T.