pub struct PllConfig {
pub source: PllSource,
pub m: Pllm,
pub n: Plln,
pub r: Pllr,
pub q: Option<Pllq>,
pub p: Option<Pllp>,
}
Expand description
The PLL configuration.
VCOCLK = source / m * n
PLLRCLK = VCOCLK / r
PLLQCLK = VCOCLK / q
PLLPCLK = VCOCLK / p
Fields§
§source: PllSource
The source from which the PLL receives a clock signal
m: Pllm
The initial divisor of that clock signal
n: Plln
The PLL VCO multiplier, which must be in the range 8..=86
.
r: Pllr
The final divisor for PLLRCLK
output which drives the system clock
q: Option<Pllq>
The divisor for the PLLQCLK
output, if desired
p: Option<Pllp>
The divisor for the PLLPCLK
output, if desired
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PllConfig
impl RefUnwindSafe for PllConfig
impl Send for PllConfig
impl Sync for PllConfig
impl Unpin for PllConfig
impl UnwindSafe for PllConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more