flipperzero_sys

Type Alias usbd_hw_enable

Source
pub type usbd_hw_enable = Option<unsafe extern "C" fn(enable: bool)>;
Expand description

Enables or disables USB hardware

§Arguments

  • enable - Enables USB when TRUE disables otherwise.

Aliased Type§

enum usbd_hw_enable {
    None,
    Some(unsafe extern "C" fn(_: bool)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: bool))

Some value of type T.