Type Alias esp_idf_svc::hal::sys::rmt_tx_done_callback_t
source · pub type rmt_tx_done_callback_t = Option<unsafe extern "C" fn(_: *mut rmt_drv_channel_t, _: *const rmt_tx_done_event_data_t, _: *mut c_void) -> bool>;
Expand description
@brief Prototype of RMT event callback
@param[in] tx_chan RMT channel handle, created from rmt_new_tx_channel()
@param[in] edata Point to RMT event data. The lifecycle of this pointer memory is inside this function,
user should copy it into static memory if used outside this function.
@param[in] user_ctx User registered context, passed from rmt_tx_register_event_callbacks()
@return Whether a high priority task has been waken up by this callback function
Aliased Type§
enum rmt_tx_done_callback_t {
None,
Some(unsafe extern "C" fn(_: *mut rmt_drv_channel_t, _: *const rmt_tx_done_event_data_t, _: *mut c_void) -> bool),
}
Variants§
None
No value.
Some(unsafe extern "C" fn(_: *mut rmt_drv_channel_t, _: *const rmt_tx_done_event_data_t, _: *mut c_void) -> bool)
Some value of type T
.