pub struct MainClockConfig {
pub source: MainClockSource,
pub power: PoweredClock,
pub ahb_clk_div: Div8,
}Fields§
§source: MainClockSourceSelected clock source
power: PoweredClockPower state of the main clock
ahb_clk_div: Div8AHB Clock Divider
Trait Implementations§
Source§impl Clone for MainClockConfig
impl Clone for MainClockConfig
Source§fn clone(&self) -> MainClockConfig
fn clone(&self) -> MainClockConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MainClockConfig
Auto Trait Implementations§
impl Freeze for MainClockConfig
impl RefUnwindSafe for MainClockConfig
impl Send for MainClockConfig
impl Sync for MainClockConfig
impl Unpin for MainClockConfig
impl UnwindSafe for MainClockConfig
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