#[repr(u8)]pub enum CrsSyncSrc {
CrsSync = 0,
Lse = 1,
OtgHs = 2,
}
Expand description
Select the SYNC signal source. Sets the CRS_CFGR register, SYNCSRC field.
Variants§
CrsSync = 0
CRS_SYNC pin selected as SYNC signal source
Lse = 1
LSE selected as SYNC signal source
OtgHs = 2
OTG HS1 SOF selected as SYNC signal source
Trait Implementations§
Source§impl Clone for CrsSyncSrc
impl Clone for CrsSyncSrc
Source§fn clone(&self) -> CrsSyncSrc
fn clone(&self) -> CrsSyncSrc
Returns a copy 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 CrsSyncSrc
Auto Trait Implementations§
impl Freeze for CrsSyncSrc
impl RefUnwindSafe for CrsSyncSrc
impl Send for CrsSyncSrc
impl Sync for CrsSyncSrc
impl Unpin for CrsSyncSrc
impl UnwindSafe for CrsSyncSrc
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