Function r3_support_rp2040::clock::init_clock
source · pub fn init_clock(
clocks: &CLOCKS,
xosc: &XOSC,
pll_sys: &PLL_SYS,
pll_usb: &PLL_USB,
resets: &RESETS,
watchdog: &WATCHDOG
)
Expand description
Configure the clocks.
- The crystal oscillator frequency is assumed to be 12MHz (Raspberry Pi Pico).
clk_ref
= 48MHzclk_sys
= 125MHz- Watchdog ticks = 1MHz