pub type ETSTimer = _ETSTIMER_;
Aliased Type§
struct ETSTimer {
pub timer_next: *mut _ETSTIMER_,
pub timer_expire: u32,
pub timer_period: u32,
pub timer_func: Option<unsafe extern "C" fn(_: *mut c_void)>,
pub timer_arg: *mut c_void,
}
Fields§
§timer_next: *mut _ETSTIMER_
< timer linker
timer_expire: u32
< abstruct time when timer expire
timer_period: u32
< timer period, 0 means timer is not periodic repeated
timer_func: Option<unsafe extern "C" fn(_: *mut c_void)>
< timer handler
timer_arg: *mut c_void
< timer handler argument
Trait Implementations
Source§impl Clone for _ETSTIMER_
impl Clone for _ETSTIMER_
Source§fn clone(&self) -> _ETSTIMER_
fn clone(&self) -> _ETSTIMER_
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for _ETSTIMER_
impl Debug for _ETSTIMER_
Source§impl Default for _ETSTIMER_
impl Default for _ETSTIMER_
Source§fn default() -> _ETSTIMER_
fn default() -> _ETSTIMER_
Returns the “default value” for a type. Read more