Type Alias rp2040_pac::rosc::freqb::W

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

Register FREQB writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn ds4(&mut self) -> DS4_W<'_, FREQB_SPEC>

Bits 0:2 - Stage 4 drive strength

source

pub fn ds5(&mut self) -> DS5_W<'_, FREQB_SPEC>

Bits 4:6 - Stage 5 drive strength

source

pub fn ds6(&mut self) -> DS6_W<'_, FREQB_SPEC>

Bits 8:10 - Stage 6 drive strength

source

pub fn ds7(&mut self) -> DS7_W<'_, FREQB_SPEC>

Bits 12:14 - Stage 7 drive strength

source

pub fn passwd(&mut self) -> PASSWD_W<'_, FREQB_SPEC>

Bits 16:31 - Set to 0x9696 to apply the settings
Any other value in this field will set all drive strengths to 0

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