RtcPowerControl

Trait RtcPowerControl 

Source
pub trait RtcPowerControl: Rtc {
    // Required methods
    fn start_clock(&mut self) -> Result<(), Self::Error>;
    fn halt_clock(&mut self) -> Result<(), Self::Error>;
}
Expand description

This trait extends Rtc with methods to start and halt the RTC clock.

Required Methods§

Source

fn start_clock(&mut self) -> Result<(), Self::Error>

Start or resume the RTC oscillator so that timekeeping can continue.

Source

fn halt_clock(&mut self) -> Result<(), Self::Error>

Halt the RTC oscillator, pausing timekeeping until restarted.

Implementors§