pub struct XoscConfig {
pub hz: u32,
pub sys_pll: Option<PllConfig>,
pub usb_pll: Option<PllConfig>,
pub delay_multiplier: u32,
}Expand description
Crystal oscillator configuration.
Fields§
§hz: u32Final frequency of the oscillator.
sys_pll: Option<PllConfig>Configuring PLL for the system clock.
usb_pll: Option<PllConfig>Configuring PLL for the USB clock.
delay_multiplier: u32Multiplier for the startup delay.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for XoscConfig
impl RefUnwindSafe for XoscConfig
impl Send for XoscConfig
impl Sync for XoscConfig
impl Unpin for XoscConfig
impl UnsafeUnpin for XoscConfig
impl UnwindSafe for XoscConfig
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