pub struct LpCore<'d> { /* private fields */ }Expand description
Represents the Low Power (LP) core peripheral.
Implementations§
Source§impl<'d> LpCore<'d>
impl<'d> LpCore<'d>
Sourcepub fn new(lp_core: LP_CORE<'d>) -> Self
pub fn new(lp_core: LP_CORE<'d>) -> Self
Create a new instance using LpCoreClockSource::RcFastClk
Sourcepub fn new_with_clock(lp_core: LP_CORE<'d>, clk_src: LpCoreClockSource) -> Self
pub fn new_with_clock(lp_core: LP_CORE<'d>, clk_src: LpCoreClockSource) -> Self
Create a new instance using the given clock
Sourcepub fn run(&mut self, wakeup_src: LpCoreWakeupSource)
pub fn run(&mut self, wakeup_src: LpCoreWakeupSource)
Start the LP core
Auto Trait Implementations§
impl<'d> Freeze for LpCore<'d>
impl<'d> RefUnwindSafe for LpCore<'d>
impl<'d> Send for LpCore<'d>
impl<'d> Sync for LpCore<'d>
impl<'d> Unpin for LpCore<'d>
impl<'d> !UnwindSafe for LpCore<'d>
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