Type Alias W

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

Register swrst_cfg2 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn reg_ctrl_pwron_rst( &mut self, ) -> REG_CTRL_PWRON_RST_W<'_, SWRST_CFG2_SPEC>

Bit 0

Source

pub fn reg_ctrl_cpu_reset( &mut self, ) -> REG_CTRL_CPU_RESET_W<'_, SWRST_CFG2_SPEC>

Bit 1

Source

pub fn reg_ctrl_sys_reset( &mut self, ) -> REG_CTRL_SYS_RESET_W<'_, SWRST_CFG2_SPEC>

Bit 2

Source

pub fn reg_ctrl_pico_reset( &mut self, ) -> REG_CTRL_PICO_RESET_W<'_, SWRST_CFG2_SPEC>

Bit 3

Source

pub fn reg_ctrl_cpu2_reset( &mut self, ) -> REG_CTRL_CPU2_RESET_W<'_, SWRST_CFG2_SPEC>

Bit 4

Source

pub fn reg_ctrl_chip_reset( &mut self, ) -> REG_CTRL_CHIP_RESET_W<'_, SWRST_CFG2_SPEC>

Bit 5

Source

pub fn pka_clk_sel(&mut self) -> PKA_CLK_SEL_W<'_, SWRST_CFG2_SPEC>

Bit 24

Source

pub fn reg_ctrl_reset_dummy( &mut self, ) -> REG_CTRL_RESET_DUMMY_W<'_, SWRST_CFG2_SPEC>

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