pub struct UlpCore<'d> { /* private fields */ }
Available on crate feature
unstable
only.Expand description
Structure representing the ULP (Ultra-Low Power) core.
Implementations§
Source§impl<'d> UlpCore<'d>
impl<'d> UlpCore<'d>
Sourcepub fn new(lp_core: impl Peripheral<P = ULP_RISCV_CORE> + 'd) -> Self
pub fn new(lp_core: impl Peripheral<P = ULP_RISCV_CORE> + 'd) -> Self
Creates a new instance of the UlpCore
struct.
Sourcepub fn run(&mut self, wakeup_src: UlpCoreWakeupSource)
pub fn run(&mut self, wakeup_src: UlpCoreWakeupSource)
Runs the ULP core with the specified wakeup source.