Type Alias esp32h2::hp_apm::func_ctrl::W

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

Register FUNC_CTRL writer

Implementations§

source§

impl W

source

pub fn m0_pms_func_en(&mut self) -> M0_PMS_FUNC_EN_W<'_, FUNC_CTRL_SPEC, 0>

Bit 0 - PMS M0 function enable

source

pub fn m1_pms_func_en(&mut self) -> M1_PMS_FUNC_EN_W<'_, FUNC_CTRL_SPEC, 1>

Bit 1 - PMS M1 function enable

source

pub fn m2_pms_func_en(&mut self) -> M2_PMS_FUNC_EN_W<'_, FUNC_CTRL_SPEC, 2>

Bit 2 - PMS M2 function enable

source

pub fn m3_pms_func_en(&mut self) -> M3_PMS_FUNC_EN_W<'_, FUNC_CTRL_SPEC, 3>

Bit 3 - PMS M3 function enable

source

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

Writes raw bits to the register.