Type Alias esp32s2::system::rom_ctrl_1::W

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

Register ROM_CTRL_1 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn rom_force_pd(&mut self) -> ROM_FORCE_PD_W<'_, ROM_CTRL_1_SPEC>

Bits 0:1 - This field is used to power down internal ROM.

source

pub fn rom_force_pu(&mut self) -> ROM_FORCE_PU_W<'_, ROM_CTRL_1_SPEC>

Bits 2:3 - This field is used to power up internal ROM.

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