pub trait WakeSource {
    // Required method
    fn apply(
        &self,
        rtc: &Rtc<'_>,
        triggers: &mut WakeTriggers,
        sleep_config: &mut RtcSleepConfig,
    );
}Expand description
Trait representing a wakeup source.
Required Methods§
Sourcefn apply(
    &self,
    rtc: &Rtc<'_>,
    triggers: &mut WakeTriggers,
    sleep_config: &mut RtcSleepConfig,
)
 
fn apply( &self, rtc: &Rtc<'_>, triggers: &mut WakeTriggers, sleep_config: &mut RtcSleepConfig, )
Configures the RTC and applies the wakeup triggers.
Implementors§
impl WakeSource for Ext1WakeupSource<'_, '_>
Available on crate feature 
unstable only.impl WakeSource for GpioWakeupSource
Available on crate feature 
unstable only.impl WakeSource for TimerWakeupSource
Available on crate feature 
unstable only.impl WakeSource for Uart0WakeupSource
Available on crate feature 
unstable only.impl WakeSource for Uart1WakeupSource
Available on crate feature 
unstable only.impl WakeSource for WakeFromLpCoreWakeupSource
Available on crate feature 
unstable only.