Type Alias esp32c6_lp::lp_io::gpio::W

source ·
pub type W = W<GPIO_SPEC>;
Expand description

Register GPIO%s writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn mcu_oe(&mut self) -> MCU_OE_W<'_, GPIO_SPEC>

Bit 0 - need des

source

pub fn slp_sel(&mut self) -> SLP_SEL_W<'_, GPIO_SPEC>

Bit 1 - need des

source

pub fn mcu_wpd(&mut self) -> MCU_WPD_W<'_, GPIO_SPEC>

Bit 2 - need des

source

pub fn mcu_wpu(&mut self) -> MCU_WPU_W<'_, GPIO_SPEC>

Bit 3 - need des

source

pub fn mcu_ie(&mut self) -> MCU_IE_W<'_, GPIO_SPEC>

Bit 4 - need des

source

pub fn mcu_drv(&mut self) -> MCU_DRV_W<'_, GPIO_SPEC>

Bits 5:6 - need des

source

pub fn fun_wpd(&mut self) -> FUN_WPD_W<'_, GPIO_SPEC>

Bit 7 - need des

source

pub fn fun_wpu(&mut self) -> FUN_WPU_W<'_, GPIO_SPEC>

Bit 8 - need des

source

pub fn fun_ie(&mut self) -> FUN_IE_W<'_, GPIO_SPEC>

Bit 9 - need des

source

pub fn fun_drv(&mut self) -> FUN_DRV_W<'_, GPIO_SPEC>

Bits 10:11 - need des

source

pub fn fun_sel(&mut self) -> FUN_SEL_W<'_, GPIO_SPEC>

Bits 12:14 - need des

source

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

Writes raw bits to the register.

Safety

Passing incorrect value can cause undefined behaviour. See reference manual