pub unsafe extern "C" fn furi_hal_infrared_async_tx_start(
    freq: u32,
    duty_cycle: f32
)
Expand description

Start IR asynchronous transmission.

It can be stopped by 2 reasons:

  1. implicit call for furi_hal_infrared_async_tx_stop()
  2. callback can provide FuriHalInfraredTxGetDataStateLastDone response which means no more data available for transmission.

Any func (furi_hal_infrared_async_tx_stop() or furi_hal_infrared_async_tx_wait_termination()) has to be called to wait end of transmission and free resources.

@param[in] freq frequency for PWM @param[in] duty_cycle duty cycle for PWM