[][src]Struct esp32::io_mux::gpio20::R

pub struct R(_);

Register GPIO20 reader

Implementations

impl R[src]

pub fn mcu_sel(&self) -> MCU_SEL_R[src]

Bits 12:13 - configures IO_MUX function

pub fn fun_drv(&self) -> FUN_DRV_R[src]

Bits 10:11 - configures drive strength

pub fn fun_ie(&self) -> FUN_IE_R[src]

Bit 9 - configures input enable

pub fn fun_wpu(&self) -> FUN_WPU_R[src]

Bit 8 - configures pull up

pub fn fun_wpd(&self) -> FUN_WPD_R[src]

Bit 7 - configures pull down

pub fn mcu_drv(&self) -> MCU_DRV_R[src]

Bits 5:6 - configures drive strength during sleep mode

pub fn mcu_ie(&self) -> MCU_IE_R[src]

Bit 4 - configures input enable during sleep mode

pub fn mcu_wpu(&self) -> MCU_WPU_R[src]

Bit 3 - configures pull up during sleep mode

pub fn mcu_wpd(&self) -> MCU_WPD_R[src]

Bit 2 - configures pull down during sleep mode

pub fn slp_sel(&self) -> SLP_SEL_R[src]

Bit 1 - configures sleep mode selection

pub fn mcu_oe(&self) -> MCU_OE_R[src]

Bit 0 - configures output enable during sleep mode

Methods from Deref<Target = R<GPIO20_SPEC>>

pub fn bits(&self) -> REG::Ux[src]

Reads raw bits from register.

Trait Implementations

impl Deref for R[src]

type Target = R<GPIO20_SPEC>

The resulting type after dereferencing.

impl From<R<GPIO20_SPEC>> for R[src]

Auto Trait Implementations

impl Send for R

impl Sync for R

impl Unpin for R

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.