rp2040_pac::syscfg::mempowerdown

Type Alias 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