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
impl Copy for Scksrc
impl Eq for Scksrc
impl StructuralPartialEq for Scksrc
Auto Trait Implementations§
impl Freeze for Scksrc
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)