hardware_alarm_callback_t

Type Alias hardware_alarm_callback_t 

Source
pub type hardware_alarm_callback_t = Option<unsafe extern "C" fn(alarm_num: uint)>;
Expand description

Callback function type for hardware alarms \ingroup hardware_timer

\param alarm_num the hardware alarm number \sa hardware_alarm_set_callback

Aliased Type§

pub enum hardware_alarm_callback_t {
    None,
    Some(unsafe extern "C" fn(u32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(u32))

Some value of type T.