Type Alias gd32f1::gd32f190::rtc::ctl::R

source ·
pub type R = R<CtlSpec>;
Expand description

Register CTL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn tseg(&self) -> TsegR

Bit 3 - Valid event edge of time-stamp

source

pub fn refen(&self) -> RefenR

Bit 4 - Reference clock detection function enable

source

pub fn bpshad(&self) -> BpshadR

Bit 5 - Shadow registers bypass control

source

pub fn cs(&self) -> CsR

Bit 6 - Clock System

source

pub fn alrm0en(&self) -> Alrm0enR

Bit 8 - Alarm-0 function enable

source

pub fn tsen(&self) -> TsenR

Bit 11 - time-stamp function enable

source

pub fn alrm0ie(&self) -> Alrm0ieR

Bit 12 - RTC alarm-0 interrupt enable

source

pub fn tsie(&self) -> TsieR

Bit 15 - Time-stamp interrupt enable

source

pub fn dsm(&self) -> DsmR

Bit 18 - Daylight saving mark

source

pub fn cos(&self) -> CosR

Bit 19 - Calibration output selection

source

pub fn opol(&self) -> OpolR

Bit 20 - Output polarity

source

pub fn os(&self) -> OsR

Bits 21:22 - Output selection

source

pub fn coen(&self) -> CoenR

Bit 23 - Calibration output enable