Struct stm32f030_hal::stm32::rtc::RegisterBlock
source · pub struct RegisterBlock {Show 20 fields
pub tr: TR,
pub dr: DR,
pub cr: CR,
pub isr: ISR,
pub prer: PRER,
pub alrmar: ALRMAR,
pub wpr: WPR,
pub ssr: SSR,
pub shiftr: SHIFTR,
pub tstr: TSTR,
pub tsdr: TSDR,
pub tsssr: TSSSR,
pub calr: CALR,
pub tafcr: TAFCR,
pub alrmassr: ALRMASSR,
pub bkp0r: BKP0R,
pub bkp1r: BKP1R,
pub bkp2r: BKP2R,
pub bkp3r: BKP3R,
pub bkp4r: BKP4R,
/* private fields */
}
Expand description
Register block
Fields
tr: TR
0x00 - time register
dr: DR
0x04 - date register
cr: CR
0x08 - control register
isr: ISR
0x0c - initialization and status register
prer: PRER
0x10 - prescaler register
alrmar: ALRMAR
0x1c - alarm A register
wpr: WPR
0x24 - write protection register
ssr: SSR
0x28 - sub second register
shiftr: SHIFTR
0x2c - shift control register
tstr: TSTR
0x30 - timestamp time register
tsdr: TSDR
0x34 - timestamp date register
tsssr: TSSSR
0x38 - time-stamp sub second register
calr: CALR
0x3c - calibration register
tafcr: TAFCR
0x40 - tamper and alternate function configuration register
alrmassr: ALRMASSR
0x44 - alarm A sub second register
bkp0r: BKP0R
0x50 - backup register
bkp1r: BKP1R
0x54 - backup register
bkp2r: BKP2R
0x58 - backup register
bkp3r: BKP3R
0x5c - backup register
bkp4r: BKP4R
0x60 - backup register
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more