Struct stm32f0x2::rtc::cr::W
[−]
[src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
fn reset_value() -> W
[src]
Reset value of the register
unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
fn tsedge(&mut self) -> _TSEDGEW
[src]
Bit 3 - Time-stamp event active edge
fn refckon(&mut self) -> _REFCKONW
[src]
Bit 4 - RTC_REFIN reference clock detection enable (50 or 60 Hz)
fn bypshad(&mut self) -> _BYPSHADW
[src]
Bit 5 - Bypass the shadow registers
fn fmt(&mut self) -> _FMTW
[src]
Bit 6 - Hour format
fn alrae(&mut self) -> _ALRAEW
[src]
Bit 8 - Alarm A enable
fn tse(&mut self) -> _TSEW
[src]
Bit 11 - timestamp enable
fn alraie(&mut self) -> _ALRAIEW
[src]
Bit 12 - Alarm A interrupt enable
fn tsie(&mut self) -> _TSIEW
[src]
Bit 15 - Time-stamp interrupt enable
fn add1h(&mut self) -> _ADD1HW
[src]
Bit 16 - Add 1 hour (summer time change)
fn sub1h(&mut self) -> _SUB1HW
[src]
Bit 17 - Subtract 1 hour (winter time change)
fn bkp(&mut self) -> _BKPW
[src]
Bit 18 - Backup
fn cosel(&mut self) -> _COSELW
[src]
Bit 19 - Calibration output selection
fn pol(&mut self) -> _POLW
[src]
Bit 20 - Output polarity
fn osel(&mut self) -> _OSELW
[src]
Bits 21:22 - Output selection
fn coe(&mut self) -> _COEW
[src]
Bit 23 - Calibration output enable