FuriHalInfraredTxSignalSentISRCallback

Type Alias FuriHalInfraredTxSignalSentISRCallback 

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

Callback type called every time signal is sent by DMA to Timer.

Actually, it means there are 2 timings left to send for this signal, which is almost end. Don’t use this callback to stop transmission, as far as there are next signal is charged for transmission by DMA.

Aliased Type§

pub enum FuriHalInfraredTxSignalSentISRCallback {
    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.