Type Alias esp32h2::uart0::mem_conf::W

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

Register MEM_CONF writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W<'_, MEM_CONF_SPEC, 25>

Bit 25 - Set this bit to force power down UART memory.

source

pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W<'_, MEM_CONF_SPEC, 26>

Bit 26 - Set this bit to force power up UART memory.

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