Type Alias rp2040_pac::psm::wdsel::W

source ·
pub type W = W<WDSEL_SPEC>;
Expand description

Register WDSEL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn rosc(&mut self) -> ROSC_W<'_, WDSEL_SPEC>

Bit 0

source

pub fn xosc(&mut self) -> XOSC_W<'_, WDSEL_SPEC>

Bit 1

source

pub fn clocks(&mut self) -> CLOCKS_W<'_, WDSEL_SPEC>

Bit 2

source

pub fn resets(&mut self) -> RESETS_W<'_, WDSEL_SPEC>

Bit 3

source

pub fn busfabric(&mut self) -> BUSFABRIC_W<'_, WDSEL_SPEC>

Bit 4

source

pub fn rom(&mut self) -> ROM_W<'_, WDSEL_SPEC>

Bit 5

source

pub fn sram0(&mut self) -> SRAM0_W<'_, WDSEL_SPEC>

Bit 6

source

pub fn sram1(&mut self) -> SRAM1_W<'_, WDSEL_SPEC>

Bit 7

source

pub fn sram2(&mut self) -> SRAM2_W<'_, WDSEL_SPEC>

Bit 8

source

pub fn sram3(&mut self) -> SRAM3_W<'_, WDSEL_SPEC>

Bit 9

source

pub fn sram4(&mut self) -> SRAM4_W<'_, WDSEL_SPEC>

Bit 10

source

pub fn sram5(&mut self) -> SRAM5_W<'_, WDSEL_SPEC>

Bit 11

source

pub fn xip(&mut self) -> XIP_W<'_, WDSEL_SPEC>

Bit 12

source

pub fn vreg_and_chip_reset(&mut self) -> VREG_AND_CHIP_RESET_W<'_, WDSEL_SPEC>

Bit 13

source

pub fn sio(&mut self) -> SIO_W<'_, WDSEL_SPEC>

Bit 14

source

pub fn proc0(&mut self) -> PROC0_W<'_, WDSEL_SPEC>

Bit 15

source

pub fn proc1(&mut self) -> PROC1_W<'_, WDSEL_SPEC>

Bit 16

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