pub struct PllCfg {
pub enabled: bool,
pub pllr_en: bool,
pub pllq_en: bool,
pub pllp_en: bool,
pub divm: Pllm,
pub divn: u8,
pub divr: Pllr,
pub divq: Pllr,
pub divp: Pllp,
pub pdiv: u8,
}
Expand description
Configures the speeds, and enable status of an individual PLL (PLL1, or SAIPLL). Note that the enable
field has no effect for PLL1.
Fields§
§enabled: bool
Only relevant for PLLSAI1.
pllr_en: bool
§pllq_en: bool
§pllp_en: bool
§divm: Pllm
Only relevant for The main PLL.
divn: u8
§divr: Pllr
§divq: Pllr
§divp: Pllp
§pdiv: u8
Defaults to 0, which causes the PLLP setting to take effect (of 7 or 17), instead of this field. Unused on “wb”, “wl”, “l4x5”, and “l4x3” variants.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PllCfg
impl RefUnwindSafe for PllCfg
impl Send for PllCfg
impl Sync for PllCfg
impl Unpin for PllCfg
impl UnwindSafe for PllCfg
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