Type Alias esp32h2::lp_peri::mem_ctrl::W

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

Register MEM_CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn uart_wakeup_flag_clr( &mut self ) -> UART_WAKEUP_FLAG_CLR_W<'_, MEM_CTRL_SPEC, 0>

Bit 0 - need_des

source

pub fn uart_wakeup_flag(&mut self) -> UART_WAKEUP_FLAG_W<'_, MEM_CTRL_SPEC, 1>

Bit 1 - need_des

source

pub fn uart_wakeup_en(&mut self) -> UART_WAKEUP_EN_W<'_, MEM_CTRL_SPEC, 29>

Bit 29 - need_des

source

pub fn uart_mem_force_pd( &mut self ) -> UART_MEM_FORCE_PD_W<'_, MEM_CTRL_SPEC, 30>

Bit 30 - need_des

source

pub fn uart_mem_force_pu( &mut self ) -> UART_MEM_FORCE_PU_W<'_, MEM_CTRL_SPEC, 31>

Bit 31 - 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