riot_sys::bindgen

Type Alias evtimer_msg_t

Source
pub type evtimer_msg_t = evtimer_t;
Expand description

@brief Event timer

Aliased Type§

struct evtimer_msg_t {
    pub timer: ztimer_t,
    pub base: u32,
    pub callback: Option<unsafe extern "C" fn(_: *mut evtimer_event)>,
    pub events: *mut evtimer_event,
}

Fields§

§timer: ztimer_t

< Timer

§base: u32

< Absolute time the first event is built on

§callback: Option<unsafe extern "C" fn(_: *mut evtimer_event)>

< Handler function for this evtimer’s event type

§events: *mut evtimer_event

< Event queue

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 28 bytes