Function flipper0::ffi::infrared_worker_tx_set_get_signal_callback
source · pub unsafe extern "C" fn infrared_worker_tx_set_get_signal_callback(
instance: *mut InfraredWorker,
callback: Option<unsafe extern "C" fn(*mut c_void, *mut InfraredWorker) -> InfraredWorkerGetSignalResponse>,
context: *mut c_void
)
Expand description
Set callback for providing next signal to send
@param[in] instance - InfraredWorker instance @param[in] context - context to pass to callbacks @param[in] callback - InfraredWorkerGetSignalCallback callback