Type Alias W

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

Register rc32m_ctrl2 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn rc32m_code_fr_ext2( &mut self, ) -> RC32M_CODE_FR_EXT2_W<'_, RC32M_CTRL2_SPEC>

Bits 22:29

Source

pub fn rc32m_ext_code_sel( &mut self, ) -> RC32M_EXT_CODE_SEL_W<'_, RC32M_CTRL2_SPEC>

Bit 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