pub struct LpspiConfig {
pub power: PoweredClock,
pub source: LpspiClockSel,
pub div: Div4,
/* private fields */
}Expand description
Top level configuration for Lpspi instances.
Fields§
§power: PoweredClockPower state required for this peripheral
source: LpspiClockSelClock source
div: Div4Clock divisor
Trait Implementations§
Source§impl SPConfHelper for LpspiConfig
impl SPConfHelper for LpspiConfig
Source§fn pre_enable_config(
&self,
clocks: &Clocks,
) -> Result<PreEnableParts, ClockError>
fn pre_enable_config( &self, clocks: &Clocks, ) -> Result<PreEnableParts, ClockError>
This method is called AFTER a given MRCC peripheral has been disabled, and BEFORE
the peripheral is to be enabled. Read more
Auto Trait Implementations§
impl Freeze for LpspiConfig
impl RefUnwindSafe for LpspiConfig
impl Send for LpspiConfig
impl Sync for LpspiConfig
impl Unpin for LpspiConfig
impl UnwindSafe for LpspiConfig
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