pub struct Psi {
pub source: PsiSource,
pub frequency: PsiFrequency,
pub sys: bool,
pub div3: bool,
pub kernel_div: Option<PsiKernelDivider>,
}Expand description
Configuration of the PSI oscillator and its independent outputs.
Fields§
§source: PsiSourceReference clock source, enabled separately in Config.
frequency: PsiFrequencyOscillator frequency. 160 MHz is only usable through a divided output.
sys: boolEnable the undivided PSIS output for SYSCLK or peripherals (at most 144 MHz).
div3: boolEnable the PSI / 3 output. USB requires a 144 MHz PSI oscillator.
kernel_div: Option<PsiKernelDivider>Enable PSIK with this divider, or disable it with None.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Psi
impl Freeze for Psi
impl Move for Psi
impl RefUnwindSafe for Psi
impl Send for Psi
impl Sync for Psi
impl Unpin for Psi
impl UnsafeUnpin for Psi
impl UnwindSafe for Psi
Blanket Implementations§
impl<T, I> Binding<I, NoHandler<I>> for T
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