esp_idf_svc::sys

Type Alias 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

Trait Implementations

Source§

impl Clone for _ETSTIMER_

Source§

fn clone(&self) -> _ETSTIMER_

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for _ETSTIMER_

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for _ETSTIMER_

Source§

fn default() -> _ETSTIMER_

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

impl Copy for _ETSTIMER_