Enum stm32_metapac::rcc::vals::I2c2sel
#[repr(u8)]pub enum I2c2sel {
PCLK1 = 0,
SYS = 1,
HSI = 2,
_RESERVED_3 = 3,
}
Variants§
PCLK1 = 0
PCLK clock selected
SYS = 1
SYSCLK clock selected
HSI = 2
HSI clock selected
_RESERVED_3 = 3
Implementations§
Trait Implementations§
§impl Ord for I2c2sel
impl Ord for I2c2sel
§impl PartialOrd for I2c2sel
impl PartialOrd for I2c2sel
impl Copy for I2c2sel
impl Eq for I2c2sel
impl StructuralPartialEq for I2c2sel
Auto Trait Implementations§
impl Freeze for I2c2sel
impl RefUnwindSafe for I2c2sel
impl Send for I2c2sel
impl Sync for I2c2sel
impl Unpin for I2c2sel
impl UnwindSafe for I2c2sel
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
)