[][src]Struct esp_idf_sys::timer_config_t

#[repr(C)]
pub struct timer_config_t {
    pub alarm_en: bool,
    pub counter_en: bool,
    pub intr_type: timer_intr_mode_t,
    pub counter_dir: timer_count_dir_t,
    pub auto_reload: bool,
    pub divider: u32,
}

@brief Data structure with timer's configuration settings

Fields

alarm_en: bool

< Timer alarm enable

counter_en: bool

< Counter enable

intr_type: timer_intr_mode_t

< Interrupt mode

counter_dir: timer_count_dir_t

< Counter direction

auto_reload: bool

< Timer auto-reload

divider: u32

< Counter clock divider. The divider's range is from from 2 to 65536.

Trait Implementations

impl Debug for timer_config_t[src]

impl Copy for timer_config_t[src]

impl Clone for timer_config_t[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]