Type Alias esp_idf_hal::sys::ETSTimer

source ·
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