Type Alias W

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

Register xtal_cfg writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn xtal_bk_aon(&mut self) -> XTAL_BK_AON_W<'_, XTAL_CFG_SPEC>

Bits 0:1

Source

pub fn xtal_capcode_extra_aon( &mut self, ) -> XTAL_CAPCODE_EXTRA_AON_W<'_, XTAL_CFG_SPEC>

Bit 2

Source

pub fn xtal_ext_sel_aon(&mut self) -> XTAL_EXT_SEL_AON_W<'_, XTAL_CFG_SPEC>

Bit 3

Source

pub fn xtal_buf_en_aon(&mut self) -> XTAL_BUF_EN_AON_W<'_, XTAL_CFG_SPEC>

Bits 4:5

Source

pub fn xtal_acbuf_en_aon(&mut self) -> XTAL_ACBUF_EN_AON_W<'_, XTAL_CFG_SPEC>

Bit 6

Source

pub fn xtal_acbuf_mode_aon( &mut self, ) -> XTAL_ACBUF_MODE_AON_W<'_, XTAL_CFG_SPEC>

Bit 7

Source

pub fn xtal_buf_hp_aon(&mut self) -> XTAL_BUF_HP_AON_W<'_, XTAL_CFG_SPEC>

Bits 8:9

Source

pub fn xtal_socbuf_en_aon(&mut self) -> XTAL_SOCBUF_EN_AON_W<'_, XTAL_CFG_SPEC>

Bit 11

Source

pub fn xtal_fast_startup_aon( &mut self, ) -> XTAL_FAST_STARTUP_AON_W<'_, XTAL_CFG_SPEC>

Bit 12

Source

pub fn xtal_sleep_aon(&mut self) -> XTAL_SLEEP_AON_W<'_, XTAL_CFG_SPEC>

Bit 13

Source

pub fn xtal_amp_ctrl_aon(&mut self) -> XTAL_AMP_CTRL_AON_W<'_, XTAL_CFG_SPEC>

Bits 14:15

Source

pub fn xtal_capcode_out_aon( &mut self, ) -> XTAL_CAPCODE_OUT_AON_W<'_, XTAL_CFG_SPEC>

Bits 16:21

Source

pub fn xtal_capcode_in_aon( &mut self, ) -> XTAL_CAPCODE_IN_AON_W<'_, XTAL_CFG_SPEC>

Bits 22:27

Source

pub fn xtal_gm_boost_aon(&mut self) -> XTAL_GM_BOOST_AON_W<'_, XTAL_CFG_SPEC>

Bits 28:29

Source

pub fn xtal_rdy_sel_aon(&mut self) -> XTAL_RDY_SEL_AON_W<'_, XTAL_CFG_SPEC>

Bits 30: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