[][src]Struct esp_idf_sys::gpio_config_t

#[repr(C)]
pub struct gpio_config_t {
    pub pin_bit_mask: u64,
    pub mode: gpio_mode_t,
    pub pull_up_en: gpio_pullup_t,
    pub pull_down_en: gpio_pulldown_t,
    pub intr_type: gpio_int_type_t,
}

@brief Configuration parameters of GPIO pad for gpio_config function

Fields

pin_bit_mask: u64

< GPIO pin: set with bit mask, each bit maps to a GPIO

mode: gpio_mode_t

< GPIO mode: set input/output mode

pull_up_en: gpio_pullup_t

< GPIO pull-up

pull_down_en: gpio_pulldown_t

< GPIO pull-down

intr_type: gpio_int_type_t

< GPIO interrupt type

Trait Implementations

impl Debug for gpio_config_t[src]

impl Copy for gpio_config_t[src]

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