pub struct LPI2C2 { /* private fields */ }Expand description
LPI2C2 peripheral
Implementations§
Trait Implementations§
Source§impl Gate for LPI2C2
impl Gate for LPI2C2
type MrccPeriphConfig = Lpi2cConfig
Source§unsafe fn enable_clock()
unsafe fn enable_clock()
Enable the clock gate. Read more
Source§unsafe fn disable_clock()
unsafe fn disable_clock()
Disable the clock gate. Read more
Source§fn is_clock_enabled() -> bool
fn is_clock_enabled() -> bool
Return whether the clock gate for this peripheral is currently enabled.
Source§unsafe fn release_reset()
unsafe fn release_reset()
Drive the peripheral out of reset. Read more
Source§unsafe fn assert_reset()
unsafe fn assert_reset()
Drive the peripheral into reset. Read more
Source§fn is_reset_released() -> bool
fn is_reset_released() -> bool
Return whether the peripheral is currently held in reset.
Source§impl Instance for LPI2C2
impl Instance for LPI2C2
Source§const CLOCK_INSTANCE: Lpi2cInstance = crate::clocks::periph_helpers::Lpi2cInstance::Lpi2c2
const CLOCK_INSTANCE: Lpi2cInstance = crate::clocks::periph_helpers::Lpi2cInstance::Lpi2c2
Clock instance
impl Copy for LPI2C2
impl PeripheralType for LPI2C2
Auto Trait Implementations§
impl Freeze for LPI2C2
impl RefUnwindSafe for LPI2C2
impl Send for LPI2C2
impl Sync for LPI2C2
impl Unpin for LPI2C2
impl UnwindSafe for LPI2C2
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