repeating_timer_callback_t

Type Alias repeating_timer_callback_t 

Source
pub type repeating_timer_callback_t = Option<unsafe extern "C" fn(rt: *mut repeating_timer_t) -> bool>;
Expand description

\brief Callback for a repeating timer \ingroup repeating_timer \param rt repeating time structure containing information about the repeating time. user_data is of primary important to the user \return true to continue repeating, false to stop.

Aliased Type§

pub enum repeating_timer_callback_t {
    None,
    Some(unsafe extern "C" fn(*mut repeating_timer) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut repeating_timer) -> bool)

Some value of type T.