Type Definition gd32f1::gd32f170::rtc::ctl::R[][src]

type R = R<u32, CTL>;

Reader of register CTL

Implementations

impl R[src]

pub fn tseg(&self) -> TSEG_R[src]

Bit 3 - Valid event edge of time-stamp

pub fn refen(&self) -> REFEN_R[src]

Bit 4 - Reference clock detection function enable

pub fn bpshad(&self) -> BPSHAD_R[src]

Bit 5 - Shadow registers bypass control

pub fn cs(&self) -> CS_R[src]

Bit 6 - Clock System

pub fn alrm0en(&self) -> ALRM0EN_R[src]

Bit 8 - Alarm-0 function enable

pub fn tsen(&self) -> TSEN_R[src]

Bit 11 - time-stamp function enable

pub fn alrm0ie(&self) -> ALRM0IE_R[src]

Bit 12 - RTC alarm-0 interrupt enable

pub fn tsie(&self) -> TSIE_R[src]

Bit 15 - Time-stamp interrupt enable

pub fn dsm(&self) -> DSM_R[src]

Bit 18 - Daylight saving mark

pub fn cos(&self) -> COS_R[src]

Bit 19 - Calibration output selection

pub fn opol(&self) -> OPOL_R[src]

Bit 20 - Output polarity

pub fn os(&self) -> OS_R[src]

Bits 21:22 - Output selection

pub fn coen(&self) -> COEN_R[src]

Bit 23 - Calibration output enable