pub struct Lpi2cConfig {
pub power: PoweredClock,
pub source: Lpi2cClockSel,
pub div: Div4,
/* private fields */
}Expand description
Top level configuration for Lpi2c instances.
Fields§
§power: PoweredClockPower state required for this peripheral
source: Lpi2cClockSelClock source
div: Div4Clock divisor
Trait Implementations§
Source§impl SPConfHelper for Lpi2cConfig
impl SPConfHelper for Lpi2cConfig
Source§fn post_enable_config(&self, clocks: &Clocks) -> Result<u32, ClockError>
fn post_enable_config(&self, clocks: &Clocks) -> Result<u32, ClockError>
This method is called AFTER a given MRCC peripheral has been enabled (e.g. un-gated),
but BEFORE the peripheral reset line is reset. Read more
Auto Trait Implementations§
impl Freeze for Lpi2cConfig
impl RefUnwindSafe for Lpi2cConfig
impl Send for Lpi2cConfig
impl Sync for Lpi2cConfig
impl Unpin for Lpi2cConfig
impl UnwindSafe for Lpi2cConfig
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