Type Alias W

Source
pub type W = W<CONTROL_SPEC>;
Expand description

Register control writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn rtc_ctl(&mut self) -> RTC_CTL_W<'_, CONTROL_SPEC>

Bits 0:3

Source

pub fn rtc_dly_option(&mut self) -> RTC_DLY_OPTION_W<'_, CONTROL_SPEC>

Bit 4

Source

pub fn hbn_mode(&mut self) -> HBN_MODE_W<'_, CONTROL_SPEC>

Bit 7

Source

pub fn trap_mode(&mut self) -> TRAP_MODE_W<'_, CONTROL_SPEC>

Bit 8

Source

pub fn pwrdn_hbn_core(&mut self) -> PWRDN_HBN_CORE_W<'_, CONTROL_SPEC>

Bit 9

Source

pub fn pwrdn_hbn_rtc(&mut self) -> PWRDN_HBN_RTC_W<'_, CONTROL_SPEC>

Bit 11

Source

pub fn sw_rst(&mut self) -> SW_RST_W<'_, CONTROL_SPEC>

Bit 12

Source

pub fn hbn_dis_pwr_off_ldo11( &mut self, ) -> HBN_DIS_PWR_OFF_LDO11_W<'_, CONTROL_SPEC>

Bit 13

Source

pub fn hbn_dis_pwr_off_ldo11_rt( &mut self, ) -> HBN_DIS_PWR_OFF_LDO11_RT_W<'_, CONTROL_SPEC>

Bit 14

Source

pub fn hbn_ldo11_rt_vout_sel( &mut self, ) -> HBN_LDO11_RT_VOUT_SEL_W<'_, CONTROL_SPEC>

Bits 15:18

Source

pub fn hbn_ldo11_aon_vout_sel( &mut self, ) -> HBN_LDO11_AON_VOUT_SEL_W<'_, CONTROL_SPEC>

Bits 19:22

Source

pub fn pu_dcdc18_aon(&mut self) -> PU_DCDC18_AON_W<'_, CONTROL_SPEC>

Bit 24

Source

pub fn pwr_on_option(&mut self) -> PWR_ON_OPTION_W<'_, CONTROL_SPEC>

Bit 25

Source

pub fn sram_slp_option(&mut self) -> SRAM_SLP_OPTION_W<'_, CONTROL_SPEC>

Bit 26

Source

pub fn sram_slp(&mut self) -> SRAM_SLP_W<'_, CONTROL_SPEC>

Bit 27

Source

pub fn hbn_state(&mut self) -> HBN_STATE_W<'_, CONTROL_SPEC>

Bits 28:31

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