[][src]Enum esp_idf_bindgen::gpio_mode_t

#[repr(u32)]pub enum gpio_mode_t {
    GPIO_MODE_DISABLE,
    GPIO_MODE_INPUT,
    GPIO_MODE_OUTPUT,
    GPIO_MODE_OUTPUT_OD,
    GPIO_MODE_INPUT_OUTPUT_OD,
    GPIO_MODE_INPUT_OUTPUT,
}

Variants

GPIO_MODE_DISABLE

< GPIO mode : disable input and output

GPIO_MODE_INPUT

< GPIO mode : input only

GPIO_MODE_OUTPUT

< GPIO mode : output only mode

GPIO_MODE_OUTPUT_OD

< GPIO mode : output only with open-drain mode

GPIO_MODE_INPUT_OUTPUT_OD

< GPIO mode : output and input with open-drain mode

GPIO_MODE_INPUT_OUTPUT

< GPIO mode : output and input mode

Trait Implementations

impl Clone for gpio_mode_t[src]

impl Copy for gpio_mode_t[src]

impl Debug for gpio_mode_t[src]

impl Eq for gpio_mode_t[src]

impl Hash for gpio_mode_t[src]

impl PartialEq<gpio_mode_t> for gpio_mode_t[src]

impl StructuralEq for gpio_mode_t[src]

impl StructuralPartialEq for gpio_mode_t[src]

Auto Trait Implementations

impl Send for gpio_mode_t

impl Sync for gpio_mode_t

impl Unpin for gpio_mode_t

Blanket Implementations

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

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

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

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

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

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> 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.