[−][src]Struct stm32f0xx_hal::stm32::rtc::cr::W
Value to write to the register
Methods
impl W[src]
pub fn reset_value() -> W[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut W[src]
Writes raw bits to the register
pub fn tsedge(&mut self) -> _TSEDGEW[src]
Bit 3 - Time-stamp event active edge
pub fn refckon(&mut self) -> _REFCKONW[src]
Bit 4 - RTC_REFIN reference clock detection enable (50 or 60 Hz)
pub fn bypshad(&mut self) -> _BYPSHADW[src]
Bit 5 - Bypass the shadow registers
pub fn fmt(&mut self) -> _FMTW[src]
Bit 6 - Hour format
pub fn alrae(&mut self) -> _ALRAEW[src]
Bit 8 - Alarm A enable
pub fn tse(&mut self) -> _TSEW[src]
Bit 11 - timestamp enable
pub fn alraie(&mut self) -> _ALRAIEW[src]
Bit 12 - Alarm A interrupt enable
pub fn tsie(&mut self) -> _TSIEW[src]
Bit 15 - Time-stamp interrupt enable
pub fn add1h(&mut self) -> _ADD1HW[src]
Bit 16 - Add 1 hour (summer time change)
pub fn sub1h(&mut self) -> _SUB1HW[src]
Bit 17 - Subtract 1 hour (winter time change)
pub fn bkp(&mut self) -> _BKPW[src]
Bit 18 - Backup
pub fn cosel(&mut self) -> _COSELW[src]
Bit 19 - Calibration output selection
pub fn pol(&mut self) -> _POLW[src]
Bit 20 - Output polarity
pub fn osel(&mut self) -> _OSELW[src]
Bits 21:22 - Output selection
pub fn coe(&mut self) -> _COEW[src]
Bit 23 - Calibration output enable
Auto Trait Implementations
Blanket Implementations
impl<T> From for T[src]
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self