Enum stm32_hal2::clocks::CrsSyncSrc
source · [−]#[repr(u8)]
pub enum CrsSyncSrc {
CrsSync,
Lse,
OtgHs,
}
Expand description
Select the SYNC signal source. Sets the CRS_CFGR register, SYNCSRC field.
Variants
CrsSync
CRS_SYNC pin selected as SYNC signal source
Lse
LSE selected as SYNC signal source
OtgHs
OTG HS1 SOF selected as SYNC signal source
Trait Implementations
sourceimpl Clone for CrsSyncSrc
impl Clone for CrsSyncSrc
sourcefn clone(&self) -> CrsSyncSrc
fn clone(&self) -> CrsSyncSrc
Returns a copy of the value. Read more
1.0.0 · sourcefn 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 RefUnwindSafe for CrsSyncSrc
impl Send for CrsSyncSrc
impl Sync for CrsSyncSrc
impl Unpin for CrsSyncSrc
impl UnwindSafe for CrsSyncSrc
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more