[][src]Struct esp32::io_mux::gpio5::W

pub struct W(_);

Register GPIO5 writer

Implementations

impl W[src]

pub fn mcu_sel(&mut self) -> MCU_SEL_W<'_>[src]

Bits 12:13 - configures IO_MUX function

pub fn fun_drv(&mut self) -> FUN_DRV_W<'_>[src]

Bits 10:11 - configures drive strength

pub fn fun_ie(&mut self) -> FUN_IE_W<'_>[src]

Bit 9 - configures input enable

pub fn fun_wpu(&mut self) -> FUN_WPU_W<'_>[src]

Bit 8 - configures pull up

pub fn fun_wpd(&mut self) -> FUN_WPD_W<'_>[src]

Bit 7 - configures pull down

pub fn mcu_drv(&mut self) -> MCU_DRV_W<'_>[src]

Bits 5:6 - configures drive strength during sleep mode

pub fn mcu_ie(&mut self) -> MCU_IE_W<'_>[src]

Bit 4 - configures input enable during sleep mode

pub fn mcu_wpu(&mut self) -> MCU_WPU_W<'_>[src]

Bit 3 - configures pull up during sleep mode

pub fn mcu_wpd(&mut self) -> MCU_WPD_W<'_>[src]

Bit 2 - configures pull down during sleep mode

pub fn slp_sel(&mut self) -> SLP_SEL_W<'_>[src]

Bit 1 - configures sleep mode selection

pub fn mcu_oe(&mut self) -> MCU_OE_W<'_>[src]

Bit 0 - configures output enable during sleep mode

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register.

Methods from Deref<Target = W<GPIO5_SPEC>>

pub unsafe fn bits(&mut self, bits: REG::Ux)[src]

Writes raw bits to the register.

Trait Implementations

impl Deref for W[src]

type Target = W<GPIO5_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

impl From<W<GPIO5_SPEC>> for W[src]

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin for W

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.