Type Alias W

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

Register rc32m_ctrl0 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn rc32m_cal_done(&mut self) -> RC32M_CAL_DONE_W<'_, RC32M_CTRL0_SPEC>

Bit 0

Source

pub fn rc32m_rdy(&mut self) -> RC32M_RDY_W<'_, RC32M_CTRL0_SPEC>

Bit 1

Source

pub fn rc32m_cal_inprogress( &mut self, ) -> RC32M_CAL_INPROGRESS_W<'_, RC32M_CTRL0_SPEC>

Bit 2

Source

pub fn rc32m_cal_div(&mut self) -> RC32M_CAL_DIV_W<'_, RC32M_CTRL0_SPEC>

Bits 3:4

Source

pub fn rc32m_cal_precharge( &mut self, ) -> RC32M_CAL_PRECHARGE_W<'_, RC32M_CTRL0_SPEC>

Bit 5

Source

pub fn rc32m_dig_code_fr_cal( &mut self, ) -> RC32M_DIG_CODE_FR_CAL_W<'_, RC32M_CTRL0_SPEC>

Bits 6:13

Source

pub fn rc32m_allow_cal(&mut self) -> RC32M_ALLOW_CAL_W<'_, RC32M_CTRL0_SPEC>

Bit 17

Source

pub fn rc32m_refclk_half(&mut self) -> RC32M_REFCLK_HALF_W<'_, RC32M_CTRL0_SPEC>

Bit 18

Source

pub fn rc32m_ext_code_en(&mut self) -> RC32M_EXT_CODE_EN_W<'_, RC32M_CTRL0_SPEC>

Bit 19

Source

pub fn rc32m_cal_en(&mut self) -> RC32M_CAL_EN_W<'_, RC32M_CTRL0_SPEC>

Bit 20

Source

pub fn rc32m_pd(&mut self) -> RC32M_PD_W<'_, RC32M_CTRL0_SPEC>

Bit 21

Source

pub fn rc32m_code_fr_ext(&mut self) -> RC32M_CODE_FR_EXT_W<'_, RC32M_CTRL0_SPEC>

Bits 22:29

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