Type Alias rp2040_pac::pio0::sm::sm_instr::W

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

Register SM_INSTR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn sm0_instr(&mut self) -> SM0_INSTR_W<'_, SM_INSTR_SPEC>

Bits 0:15

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