Type Alias rp2040_pac::usbctrl_regs::sof_wr::W

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

Register SOF_WR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn count(&mut self) -> COUNT_W<'_, SOF_WR_SPEC>

Bits 0:10

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