pub struct Config {Show 13 fields
pub msi: Option<MSIRange>,
pub hsi: bool,
pub hse: Option<Hse>,
pub hsi48: Option<Hsi48Config>,
pub pll: Option<Pll>,
pub pllsai1: Option<Pll>,
pub pllsai2: Option<Pll>,
pub sys: Sysclk,
pub ahb_pre: AHBPrescaler,
pub apb1_pre: APBPrescaler,
pub apb2_pre: APBPrescaler,
pub ls: LsConfig,
pub mux: ClockMux,
}
Expand description
Clocks configuration
Fields§
§msi: Option<MSIRange>
§hsi: bool
§hse: Option<Hse>
§hsi48: Option<Hsi48Config>
§pll: Option<Pll>
§pllsai1: Option<Pll>
§pllsai2: Option<Pll>
§sys: Sysclk
§ahb_pre: AHBPrescaler
§apb1_pre: APBPrescaler
§apb2_pre: APBPrescaler
§ls: LsConfig
§mux: ClockMux
Per-peripheral kernel clock selection muxes
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)