Type Alias rp2040_pac::clocks::clk_rtc_ctrl::R

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

Register CLK_RTC_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

source

pub fn phase(&self) -> PHASE_R

Bits 16:17 - This delays the enable signal by up to 3 cycles of the input clock
This must be set before the clock is enabled to have any effect

source

pub fn nudge(&self) -> NUDGE_R

Bit 20 - An edge on this signal shifts the phase of the output by 1 cycle of the input clock
This can be done at any time