Enum 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
impl Copy for I2csel
impl Eq for I2csel
impl StructuralPartialEq for I2csel
Auto Trait Implementations§
impl Freeze for I2csel
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
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
)