Enum stm32_metapac::adf::vals::Scksrc
#[repr(u8)]pub enum Scksrc {
CCK0 = 0,
CCK1 = 1,
CKI0 = 2,
CKI1 = 3,
}
Expand description
Serial clock source. This bitfield is set and cleared by software. It is used to select the clock source of the serial interface.
Variants§
CCK0 = 0
Serial clock source is CCK0.
CCK1 = 1
Serial clock source is CCK1.
CKI0 = 2
Serial clock source is CCI0.
CKI1 = 3
Serial clock source is CCI1.
Implementations§
Trait Implementations§
§impl Ord for Scksrc
impl Ord for Scksrc
§impl PartialOrd for Scksrc
impl PartialOrd for Scksrc
§fn partial_cmp(&self, other: &Scksrc) -> Option<Ordering>
fn partial_cmp(&self, other: &Scksrc) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Scksrc
impl Eq for Scksrc
impl StructuralEq for Scksrc
impl StructuralPartialEq for Scksrc
Auto Trait Implementations§
impl RefUnwindSafe for Scksrc
impl Send for Scksrc
impl Sync for Scksrc
impl Unpin for Scksrc
impl UnwindSafe for Scksrc
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