Struct alt_stm32f30x_hal::stm32::rtc::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 19 fields
pub tr: Reg<TR_SPEC>,
pub dr: Reg<DR_SPEC>,
pub cr: Reg<CR_SPEC>,
pub isr: Reg<ISR_SPEC>,
pub prer: Reg<PRER_SPEC>,
pub wutr: Reg<WUTR_SPEC>,
pub alrmar: Reg<ALRMAR_SPEC>,
pub alrmbr: Reg<ALRMBR_SPEC>,
pub wpr: Reg<WPR_SPEC>,
pub ssr: Reg<SSR_SPEC>,
pub shiftr: Reg<SHIFTR_SPEC>,
pub tstr: Reg<TSTR_SPEC>,
pub tsdr: Reg<TSDR_SPEC>,
pub tsssr: Reg<TSSSR_SPEC>,
pub calr: Reg<CALR_SPEC>,
pub tafcr: Reg<TAFCR_SPEC>,
pub alrmassr: Reg<ALRMASSR_SPEC>,
pub alrmbssr: Reg<ALRMBSSR_SPEC>,
pub bkpr: [Reg<BKPR_SPEC>; 32],
/* private fields */
}
Expand description
Register block
Fields
tr: Reg<TR_SPEC>
0x00 - time register
dr: Reg<DR_SPEC>
0x04 - date register
cr: Reg<CR_SPEC>
0x08 - control register
isr: Reg<ISR_SPEC>
0x0c - initialization and status register
prer: Reg<PRER_SPEC>
0x10 - prescaler register
wutr: Reg<WUTR_SPEC>
0x14 - wakeup timer register
alrmar: Reg<ALRMAR_SPEC>
0x1c - alarm A register
alrmbr: Reg<ALRMBR_SPEC>
0x20 - alarm B register
wpr: Reg<WPR_SPEC>
0x24 - write protection register
ssr: Reg<SSR_SPEC>
0x28 - sub second register
shiftr: Reg<SHIFTR_SPEC>
0x2c - shift control register
tstr: Reg<TSTR_SPEC>
0x30 - time stamp time register
tsdr: Reg<TSDR_SPEC>
0x34 - time stamp date register
tsssr: Reg<TSSSR_SPEC>
0x38 - timestamp sub second register
calr: Reg<CALR_SPEC>
0x3c - calibration register
tafcr: Reg<TAFCR_SPEC>
0x40 - tamper and alternate function configuration register
alrmassr: Reg<ALRMASSR_SPEC>
0x44 - alarm A sub second register
alrmbssr: Reg<ALRMBSSR_SPEC>
0x48 - alarm B sub second register
bkpr: [Reg<BKPR_SPEC>; 32]
0x50..0xd0 - 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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