Module pll

Module pll 

Source
Expand description

Phase-Locked Loops (PLL)

See Section 8.6 for more details

Modules§

common_configs
Common configs for the two PLLs. Both assume the XOSC is cadenced at 12MHz !

Structs§

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

Enums§

Error
Error type for the PLL module.

Traits§

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

Functions§

setup_pll_blocking
Blocking helper method to setup the PLL without going through all the steps.
start_pll_blocking
Blocking helper method to (re)start a PLL.