pub struct R(/* private fields */);
Expand description
Register CTRL
reader
Implementations§
Source§impl R
impl R
Sourcepub fn rtce(&self) -> RTCE_R
pub fn rtce(&self) -> RTCE_R
Bit 0 - Real Time Clock Enable. This bit enables the Real Time Clock. This bit can only be written when WE=1 and BUSY =0. Change to this bit is effective only after BUSY is cleared from 1 to 0.
Sourcepub fn ade(&self) -> ADE_R
pub fn ade(&self) -> ADE_R
Bit 1 - Alarm Time-of-Day Interrupt Enable. Change to this bit is effective only after BUSY is cleared from 1 to 0.
Sourcepub fn ase(&self) -> ASE_R
pub fn ase(&self) -> ASE_R
Bit 2 - Alarm Sub-second Interrupt Enable. Change to this bit is effective only after BUSY is cleared from 1 to 0.
Sourcepub fn busy(&self) -> BUSY_R
pub fn busy(&self) -> BUSY_R
Bit 3 - RTC Busy. This bit is set to 1 by hardware when changes to RTC registers required a synchronized version of the register to be in place. This bit is automatically cleared by hardware.
Sourcepub fn rdy(&self) -> RDY_R
pub fn rdy(&self) -> RDY_R
Bit 4 - RTC Ready. This bit is set to 1 by hardware when the RTC count registers update. It can be cleared to 0 by software at any time. It will also be cleared to 0 by hardware just prior to an update of the RTC count register.
Sourcepub fn aldf(&self) -> ALDF_R
pub fn aldf(&self) -> ALDF_R
Bit 6 - Time-of-Day Alarm Interrupt Flag. This alarm is qualified as wake-up source to the processor.
Sourcepub fn alsf(&self) -> ALSF_R
pub fn alsf(&self) -> ALSF_R
Bit 7 - Sub-second Alarm Interrupt Flag. This alarm is qualified as wake-up source to the processor.