Enum stm32_metapac::rcc::vals::I2csel
#[repr(u8)]pub enum I2csel {
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 I2csel
impl Ord for I2csel
§impl PartialOrd for I2csel
impl PartialOrd for I2csel
§fn partial_cmp(&self, other: &I2csel) -> Option<Ordering>
fn partial_cmp(&self, other: &I2csel) -> 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 I2csel
impl Eq for I2csel
impl StructuralEq for I2csel
impl StructuralPartialEq for I2csel
Auto Trait Implementations§
impl RefUnwindSafe for I2csel
impl Send for I2csel
impl Sync for I2csel
impl Unpin for I2csel
impl UnwindSafe for I2csel
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