Type Alias rp2040_pac::xip_ssi::mwcr::W

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

Register MWCR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn mwmod(&mut self) -> MWMOD_W<'_, MWCR_SPEC>

Bit 0 - Microwire transfer mode

source

pub fn mdd(&mut self) -> MDD_W<'_, MWCR_SPEC>

Bit 1 - Microwire control

source

pub fn mhs(&mut self) -> MHS_W<'_, MWCR_SPEC>

Bit 2 - Microwire handshaking

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