Type Alias rp2040_pac::clocks::clk_peri_ctrl::R

source ·
pub type R = R<CLK_PERI_CTRL_SPEC>;
Expand description

Register CLK_PERI_CTRL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn auxsrc(&self) -> AUXSRC_R

Bits 5:7 - Selects the auxiliary clock source, will glitch when switching

source

pub fn kill(&self) -> KILL_R

Bit 10 - Asynchronously kills the clock generator

source

pub fn enable(&self) -> ENABLE_R

Bit 11 - Starts and stops the clock generator cleanly