pub struct LpuartConfig {
pub power: PoweredClock,
pub source: LpuartClockSel,
pub div: Div4,
/* private fields */
}Expand description
Top level configuration for Lpuart instances.
Fields§
§power: PoweredClockPower state required for this peripheral
source: LpuartClockSelClock source
div: Div4Clock divisor
Trait Implementations§
Source§impl SPConfHelper for LpuartConfig
impl SPConfHelper for LpuartConfig
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 LpuartConfig
impl RefUnwindSafe for LpuartConfig
impl Send for LpuartConfig
impl Sync for LpuartConfig
impl Unpin for LpuartConfig
impl UnwindSafe for LpuartConfig
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