flipperzero_sys

Type Alias FuriHalInfraredRxTimeoutCallback

Source
pub type FuriHalInfraredRxTimeoutCallback = Option<unsafe extern "C" fn(ctx: *mut c_void)>;
Expand description

Signature of callback function for reaching silence timeout on INFRARED port.

§Arguments

  • ctx (direction in) - context to pass to callback

Aliased Type§

enum FuriHalInfraredRxTimeoutCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void))

Some value of type T.