Enum stm32_metapac::rcc::vals::I2csel
#[repr(u8)]pub enum I2csel {
PCLK1 = 0,
PLL3_R = 1,
HSI = 2,
CSI = 3,
}
Variants§
PCLK1 = 0
pclk1 selected as kernel clock (default after reset).
PLL3_R = 1
pll3_r selected as peripheral clock
HSI = 2
hsi_ker selected as peripheral clock
CSI = 3
csi_ker selected as peripheral clock
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