rp2040_pac::xip_ssi::mwcr

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