Type Alias esp_idf_sys::i2s_isr_callback_t

source ·
pub type i2s_isr_callback_t = Option<unsafe extern "C" fn(handle: i2s_chan_handle_t, event: *mut i2s_event_data_t, user_ctx: *mut c_void) -> bool>;
Expand description

@brief I2S event callback @param[in] handle I2S channel handle, created from i2s_new_channel() @param[in] event I2S event data @param[in] user_ctx User registered context, passed from i2s_channel_register_event_callback()

@return Whether a high priority task has been waken up by this callback function

Aliased Type§

enum i2s_isr_callback_t {
    None,
    Some(unsafe extern "C" fn(_: *mut i2s_channel_obj_t, _: *mut i2s_event_data_t, _: *mut c_void) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut i2s_channel_obj_t, _: *mut i2s_event_data_t, _: *mut c_void) -> bool)

Some value of type T.