Type Alias rp2040_pac::xosc::startup::W
source · pub type W = W<STARTUP_SPEC>;
Expand description
Register STARTUP
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn delay(&mut self) -> DELAY_W<'_, STARTUP_SPEC>
pub fn delay(&mut self) -> DELAY_W<'_, STARTUP_SPEC>
Bits 0:13 - in multiples of 256*xtal_period. The reset value of 0xc4 corresponds to approx 50 000 cycles.
sourcepub fn x4(&mut self) -> X4_W<'_, STARTUP_SPEC>
pub fn x4(&mut self) -> X4_W<'_, STARTUP_SPEC>
Bit 20 - Multiplies the startup_delay by 4. This is of little value to the user given that the delay can be programmed directly.