Enum I2csel
#[repr(u8)]pub enum I2csel {
PCLK1 = 0,
SYS = 1,
HSI = 2,
_RESERVED_3 = 3,
}Variants§
PCLK1 = 0
PCLK clock selected as I2C clock.
SYS = 1
System clock (SYSCLK) selected as I2C clock.
HSI = 2
HSI16 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