Enum stm32_metapac::rcc::vals::Fmpi2csel
#[repr(u8)]pub enum Fmpi2csel {
PCLK1 = 0,
SYS = 1,
HSI = 2,
_RESERVED_3 = 3,
}
Variants§
PCLK1 = 0
APB clock selected as I2C clock
SYS = 1
System clock selected as I2C clock
HSI = 2
HSI clock selected as I2C clock
_RESERVED_3 = 3
Implementations§
Trait Implementations§
§impl Ord for Fmpi2csel
impl Ord for Fmpi2csel
§impl PartialOrd for Fmpi2csel
impl PartialOrd for Fmpi2csel
§fn partial_cmp(&self, other: &Fmpi2csel) -> Option<Ordering>
fn partial_cmp(&self, other: &Fmpi2csel) -> 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 Fmpi2csel
impl Eq for Fmpi2csel
impl StructuralEq for Fmpi2csel
impl StructuralPartialEq for Fmpi2csel
Auto Trait Implementations§
impl RefUnwindSafe for Fmpi2csel
impl Send for Fmpi2csel
impl Sync for Fmpi2csel
impl Unpin for Fmpi2csel
impl UnwindSafe for Fmpi2csel
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