Type Alias rp2040_pac::rosc::freqa::W

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

Register FREQA writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn ds0(&mut self) -> DS0_W<'_, FREQA_SPEC>

Bits 0:2 - Stage 0 drive strength

source

pub fn ds1(&mut self) -> DS1_W<'_, FREQA_SPEC>

Bits 4:6 - Stage 1 drive strength

source

pub fn ds2(&mut self) -> DS2_W<'_, FREQA_SPEC>

Bits 8:10 - Stage 2 drive strength

source

pub fn ds3(&mut self) -> DS3_W<'_, FREQA_SPEC>

Bits 12:14 - Stage 3 drive strength

source

pub fn passwd(&mut self) -> PASSWD_W<'_, FREQA_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