pub struct I2C1 { /* private fields */ }
Expand description
Inter-integrated circuit
Implementations§
Trait Implementations§
Source§impl Enable for I2C1
impl Enable for I2C1
Source§fn enable(rcc: &RegisterBlock)
fn enable(rcc: &RegisterBlock)
Enables peripheral
Source§fn disable(rcc: &RegisterBlock)
fn disable(rcc: &RegisterBlock)
Disables peripheral
Source§fn is_enabled() -> bool
fn is_enabled() -> bool
Check if peripheral enabled
Source§fn is_disabled() -> bool
fn is_disabled() -> bool
Check if peripheral disabled
Source§unsafe fn enable_unchecked()
unsafe fn enable_unchecked()
Safety Read more
Source§unsafe fn disable_unchecked()
unsafe fn disable_unchecked()
Safety Read more
Source§impl LPEnable for I2C1
impl LPEnable for I2C1
Source§fn enable_in_low_power(rcc: &RegisterBlock)
fn enable_in_low_power(rcc: &RegisterBlock)
Enables peripheral in low power mode
Source§fn disable_in_low_power(rcc: &RegisterBlock)
fn disable_in_low_power(rcc: &RegisterBlock)
Disables peripheral in low power mode
Source§fn is_enabled_in_low_power() -> bool
fn is_enabled_in_low_power() -> bool
Check if peripheral enabled in low power mode
Source§fn is_disabled_in_low_power() -> bool
fn is_disabled_in_low_power() -> bool
Check if peripheral disabled in low power mode
Source§unsafe fn enable_in_low_power_unchecked()
unsafe fn enable_in_low_power_unchecked()
Safety Read more
Source§unsafe fn disable_in_low_power_unchecked()
unsafe fn disable_in_low_power_unchecked()
Safety Read more
Source§impl PeriAddress for I2C1
impl PeriAddress for I2C1
Source§impl Reset for I2C1
impl Reset for I2C1
Source§fn reset(rcc: &RegisterBlock)
fn reset(rcc: &RegisterBlock)
Resets peripheral
Source§unsafe fn reset_unchecked()
unsafe fn reset_unchecked()
Safety Read more
impl DMASet<StreamX<DMA1, 0>, 1, PeripheralToMemory> for I2C1
impl DMASet<StreamX<DMA1, 5>, 1, PeripheralToMemory> for I2C1
impl DMASet<StreamX<DMA1, 6>, 1, MemoryToPeripheral> for I2C1
impl DMASet<StreamX<DMA1, 7>, 1, MemoryToPeripheral> for I2C1
impl Instance for I2C1
impl Send for I2C1
Auto Trait Implementations§
impl Freeze for I2C1
impl RefUnwindSafe for I2C1
impl !Sync for I2C1
impl Unpin for I2C1
impl UnwindSafe for I2C1
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