Enum Compsel
#[repr(u8)]pub enum Compsel {
PCLK = 0,
LSC = 1,
}
Variants§
PCLK = 0
PCLK selected as COMP1 clock source
LSC = 1
LSC selected as COMP1 clock source (selected by RCC_BDCR.LSCOSEL)
Implementations§
Trait Implementations§
§impl Ord for Compsel
impl Ord for Compsel
§impl PartialOrd for Compsel
impl PartialOrd for Compsel
impl Copy for Compsel
impl Eq for Compsel
impl StructuralPartialEq for Compsel
Auto Trait Implementations§
impl Freeze for Compsel
impl RefUnwindSafe for Compsel
impl Send for Compsel
impl Sync for Compsel
impl Unpin for Compsel
impl UnwindSafe for Compsel
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