Type Alias rp2040_pac::rosc::phase::W
source · pub type W = W<PHASE_SPEC>;
Expand description
Register PHASE
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn shift(&mut self) -> SHIFT_W<'_, PHASE_SPEC>
pub fn shift(&mut self) -> SHIFT_W<'_, PHASE_SPEC>
Bits 0:1 - phase shift the phase-shifted output by SHIFT input clocks
this can be changed on-the-fly
must be set to 0 before setting div=1
sourcepub fn flip(&mut self) -> FLIP_W<'_, PHASE_SPEC>
pub fn flip(&mut self) -> FLIP_W<'_, PHASE_SPEC>
Bit 2 - invert the phase-shifted output
this is ignored when div=1
sourcepub fn enable(&mut self) -> ENABLE_W<'_, PHASE_SPEC>
pub fn enable(&mut self) -> ENABLE_W<'_, PHASE_SPEC>
Bit 3 - enable the phase-shifted output
this can be changed on-the-fly
sourcepub fn passwd(&mut self) -> PASSWD_W<'_, PHASE_SPEC>
pub fn passwd(&mut self) -> PASSWD_W<'_, PHASE_SPEC>
Bits 4:11 - set to 0xaa
any other value enables the output with shift=0