Skip to main content

lp_i2s_callback_t

Type Alias lp_i2s_callback_t 

Source
pub type lp_i2s_callback_t = Option<unsafe extern "C" fn(handle: lp_i2s_chan_handle_t, event: *mut lp_i2s_evt_data_t, user_ctx: *mut c_void) -> bool>;
Expand description

@brief LP I2S event callback type

@param[in] handle LP I2S channel handle @param[in] event Event data @param[in] user_ctx User data

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

Aliased Type§

pub enum lp_i2s_callback_t {
    None,
    Some(unsafe extern "C" fn(*mut lp_i2s_channel_obj_t, *mut lp_i2s_evt_data_t, *mut c_void) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut lp_i2s_channel_obj_t, *mut lp_i2s_evt_data_t, *mut c_void) -> bool)

Some value of type T.