Type Alias W

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

Register xtal32k writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn xtal32k_ext_sel(&mut self) -> XTAL32K_EXT_SEL_W<'_, XTAL32K_SPEC>

Bit 2

Source

pub fn xtal32k_amp_ctrl(&mut self) -> XTAL32K_AMP_CTRL_W<'_, XTAL32K_SPEC>

Bits 3:4

Source

pub fn xtal32k_reg(&mut self) -> XTAL32K_REG_W<'_, XTAL32K_SPEC>

Bits 5:6

Source

pub fn xtal32k_outbuf_stre(&mut self) -> XTAL32K_OUTBUF_STRE_W<'_, XTAL32K_SPEC>

Bit 7

Source

pub fn xtal32k_otf_short(&mut self) -> XTAL32K_OTF_SHORT_W<'_, XTAL32K_SPEC>

Bit 8

Source

pub fn xtal32k_inv_stre(&mut self) -> XTAL32K_INV_STRE_W<'_, XTAL32K_SPEC>

Bits 9:10

Source

pub fn xtal32k_capbank(&mut self) -> XTAL32K_CAPBANK_W<'_, XTAL32K_SPEC>

Bits 11:16

Source

pub fn xtal32k_ac_cap_short( &mut self, ) -> XTAL32K_AC_CAP_SHORT_W<'_, XTAL32K_SPEC>

Bit 17

Source

pub fn pu_xtal32k_buf(&mut self) -> PU_XTAL32K_BUF_W<'_, XTAL32K_SPEC>

Bit 18

Source

pub fn pu_xtal32k(&mut self) -> PU_XTAL32K_W<'_, XTAL32K_SPEC>

Bit 19

Source

pub fn xtal32k_lowv_en(&mut self) -> XTAL32K_LOWV_EN_W<'_, XTAL32K_SPEC>

Bit 20

Source

pub fn xtal32k_hiz_en(&mut self) -> XTAL32K_HIZ_EN_W<'_, XTAL32K_SPEC>

Bit 21

Source

pub fn dten_xtal32k(&mut self) -> DTEN_XTAL32K_W<'_, XTAL32K_SPEC>

Bit 22

Source

pub fn ten_xtal32k(&mut self) -> TEN_XTAL32K_W<'_, XTAL32K_SPEC>

Bit 23

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