Skip to main content

ETSTimer

Type Alias ETSTimer 

Source
pub type ETSTimer = _ETSTIMER_;

Aliased Type§

#[repr(C)]
pub 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

< abstract 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