Module rp2040_hal::pll

source ·
Expand description

Phase-Locked Loops (PLL)

Modules

Common configs for the two PLLs. Both assume the XOSC is cadenced at 12MHz ! See Chapter 2, Section 18, §2

Structs

PLL is disabled.
PLL is locked : it delivers a steady frequency.
A token that’s given when the PLL is properly locked, so we can safely transition to the next state.
PLL is configured, started and locking into its designated frequency.
Parameters for a PLL.

Enums

Error type for the PLL module. See Chapter 2, Section 18 §2 for details on constraints triggering these errors.

Traits

Trait to handle both underlying devices from the PAC (PLL_SYS & PLL_USB)
State of the PLL

Functions

Blocking helper method to setup the PLL without going through all the steps.