Type Alias esp_idf_hal::sys::rmt_rx_done_callback_t
source · pub type rmt_rx_done_callback_t = Option<unsafe extern "C" fn(_: *mut rmt_drv_channel_t, _: *const rmt_rx_done_event_data_t, _: *mut c_void) -> bool>;
Expand description
@brief Prototype of RMT event callback
@param[in] rx_chan RMT channel handle, created from rmt_new_rx_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_rx_register_event_callbacks()
@return Whether a high priority task has been waken up by this function
Aliased Type§
enum rmt_rx_done_callback_t {
None,
Some(unsafe extern "C" fn(_: *mut rmt_drv_channel_t, _: *const rmt_rx_done_event_data_t, _: *mut c_void) -> bool),
}
Variants§
None
No value.
Some(unsafe extern "C" fn(_: *mut rmt_drv_channel_t, _: *const rmt_rx_done_event_data_t, _: *mut c_void) -> bool)
Some value of type T
.