pub struct SoscConfig {
pub mode: SoscMode,
pub frequency: u32,
pub power: PoweredClock,
}Expand description
SOSC/clk_in configuration
Fields§
§mode: SoscModeMode of the external reference clock
frequency: u32Specific frequency of the external reference clock
power: PoweredClockPower state of the external reference clock
Trait Implementations§
Source§impl Clone for SoscConfig
impl Clone for SoscConfig
Source§fn clone(&self) -> SoscConfig
fn clone(&self) -> SoscConfig
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 SoscConfig
Auto Trait Implementations§
impl Freeze for SoscConfig
impl RefUnwindSafe for SoscConfig
impl Send for SoscConfig
impl Sync for SoscConfig
impl Unpin for SoscConfig
impl UnwindSafe for SoscConfig
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