Type Alias esp32c6::lp_io::gpio5::W

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

Register GPIO5 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn lp_gpio5_mcu_oe(&mut self) -> LP_GPIO5_MCU_OE_W<'_, GPIO5_SPEC, 0>

Bit 0 - need des

source

pub fn lp_gpio5_slp_sel(&mut self) -> LP_GPIO5_SLP_SEL_W<'_, GPIO5_SPEC, 1>

Bit 1 - need des

source

pub fn lp_gpio5_mcu_wpd(&mut self) -> LP_GPIO5_MCU_WPD_W<'_, GPIO5_SPEC, 2>

Bit 2 - need des

source

pub fn lp_gpio5_mcu_wpu(&mut self) -> LP_GPIO5_MCU_WPU_W<'_, GPIO5_SPEC, 3>

Bit 3 - need des

source

pub fn lp_gpio5_mcu_ie(&mut self) -> LP_GPIO5_MCU_IE_W<'_, GPIO5_SPEC, 4>

Bit 4 - need des

source

pub fn lp_gpio5_mcu_drv(&mut self) -> LP_GPIO5_MCU_DRV_W<'_, GPIO5_SPEC, 5>

Bits 5:6 - need des

source

pub fn lp_gpio5_fun_wpd(&mut self) -> LP_GPIO5_FUN_WPD_W<'_, GPIO5_SPEC, 7>

Bit 7 - need des

source

pub fn lp_gpio5_fun_wpu(&mut self) -> LP_GPIO5_FUN_WPU_W<'_, GPIO5_SPEC, 8>

Bit 8 - need des

source

pub fn lp_gpio5_fun_ie(&mut self) -> LP_GPIO5_FUN_IE_W<'_, GPIO5_SPEC, 9>

Bit 9 - need des

source

pub fn lp_gpio5_fun_drv(&mut self) -> LP_GPIO5_FUN_DRV_W<'_, GPIO5_SPEC, 10>

Bits 10:11 - need des

source

pub fn lp_gpio5_mcu_sel(&mut self) -> LP_GPIO5_MCU_SEL_W<'_, GPIO5_SPEC, 12>

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