Struct riot_sys::xtimer[][src]

#[repr(C)]
pub struct xtimer { pub next: *mut xtimer, pub offset: u32, pub long_offset: u32, pub start_time: u32, pub long_start_time: u32, pub callback: xtimer_callback_t, pub arg: *mut c_void, }
Expand description

@brief xtimer timer structure

Fields

next: *mut xtimer

< reference to next timer in timer lists

offset: u32

< lower 32bit offset time

long_offset: u32

< upper 32bit offset time

start_time: u32

< lower 32bit absolute start time

long_start_time: u32

< upper 32bit absolute start time

callback: xtimer_callback_t

< callback function to call when timer expires

arg: *mut c_void

< argument to pass to callback function

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.