[][src]Struct esp_idf_sys::esp_timer_create_args_t

#[repr(C)]
pub struct esp_timer_create_args_t {
    pub callback: esp_timer_cb_t,
    pub arg: *mut c_void,
    pub dispatch_method: esp_timer_dispatch_t,
    pub name: *const c_char,
}

@brief Timer configuration passed to esp_timer_create

Fields

callback: esp_timer_cb_t

!< Function to call when timer expires

arg: *mut c_void

!< Argument to pass to the callback

dispatch_method: esp_timer_dispatch_t

!< Call the callback from task or from ISR

name: *const c_char

!< Timer name, used in esp_timer_dump function

Trait Implementations

impl Debug for esp_timer_create_args_t[src]

impl Copy for esp_timer_create_args_t[src]

impl Clone for esp_timer_create_args_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]