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