Type Alias W

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

Register rc32m_ctrl1 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn rc32m_test_en(&mut self) -> RC32M_TEST_EN_W<'_, RC32M_CTRL1_SPEC>

Bit 0

Source

pub fn rc32m_soft_rst(&mut self) -> RC32M_SOFT_RST_W<'_, RC32M_CTRL1_SPEC>

Bit 1

Source

pub fn rc32m_clk_soft_rst( &mut self, ) -> RC32M_CLK_SOFT_RST_W<'_, RC32M_CTRL1_SPEC>

Bit 2

Source

pub fn rc32m_clk_inv(&mut self) -> RC32M_CLK_INV_W<'_, RC32M_CTRL1_SPEC>

Bit 3

Source

pub fn rc32m_clk_force_on( &mut self, ) -> RC32M_CLK_FORCE_ON_W<'_, RC32M_CTRL1_SPEC>

Bit 4

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