Type Alias rp2040_pac::clocks::clk_peri_ctrl::W
source · pub type W = W<CLK_PERI_CTRL_SPEC>;
Expand description
Register CLK_PERI_CTRL
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn auxsrc(&mut self) -> AUXSRC_W<'_, CLK_PERI_CTRL_SPEC>
pub fn auxsrc(&mut self) -> AUXSRC_W<'_, CLK_PERI_CTRL_SPEC>
Bits 5:7 - Selects the auxiliary clock source, will glitch when switching
sourcepub fn kill(&mut self) -> KILL_W<'_, CLK_PERI_CTRL_SPEC>
pub fn kill(&mut self) -> KILL_W<'_, CLK_PERI_CTRL_SPEC>
Bit 10 - Asynchronously kills the clock generator
sourcepub fn enable(&mut self) -> ENABLE_W<'_, CLK_PERI_CTRL_SPEC>
pub fn enable(&mut self) -> ENABLE_W<'_, CLK_PERI_CTRL_SPEC>
Bit 11 - Starts and stops the clock generator cleanly