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 * nPLLRCLK = VCOCLK / rPLLQCLK = VCOCLK / qPLLPCLK = VCOCLK / p
Fields§
§source: PllSourceThe source from which the PLL receives a clock signal
m: PllmThe initial divisor of that clock signal
n: PllnThe PLL VCO multiplier, which must be in the range 8..=86.
r: PllrThe 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