Type Alias rp2040_pac::syscfg::mempowerdown::W

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

Register MEMPOWERDOWN writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bit 0

source

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

Bit 1

source

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

Bit 2

source

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

Bit 3

source

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

Bit 4

source

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

Bit 5

source

pub fn usb(&mut self) -> USB_W<'_, MEMPOWERDOWN_SPEC>

Bit 6

source

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

Bit 7

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