Struct stm32wlxx_hal::pac::rtc::RegisterBlock
#[repr(C)]pub struct RegisterBlock {Show 21 fields
pub tr: Reg<TR_SPEC>,
pub dr: Reg<DR_SPEC>,
pub ssr: Reg<SSR_SPEC>,
pub icsr: Reg<ICSR_SPEC>,
pub prer: Reg<PRER_SPEC>,
pub wutr: Reg<WUTR_SPEC>,
pub cr: Reg<CR_SPEC>,
pub wpr: Reg<WPR_SPEC>,
pub calr: Reg<CALR_SPEC>,
pub shiftr: Reg<SHIFTR_SPEC>,
pub tstr: Reg<TSTR_SPEC>,
pub tsdr: Reg<TSDR_SPEC>,
pub tsssr: Reg<TSSSR_SPEC>,
pub alrmar: Reg<ALRMR_SPEC>,
pub alrmassr: Reg<ALRMSSR_SPEC>,
pub alrmbr: Reg<ALRMR_SPEC>,
pub alrmbssr: Reg<ALRMSSR_SPEC>,
pub sr: Reg<SR_SPEC>,
pub misr: Reg<MISR_SPEC>,
pub scr: Reg<SCR_SPEC>,
pub alrbinr: [Reg<ALRBINR_SPEC>; 2],
/* private fields */
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register block
Fields§
§tr: Reg<TR_SPEC>
0x00 - Time register
dr: Reg<DR_SPEC>
0x04 - Date register
ssr: Reg<SSR_SPEC>
0x08 - Sub second register
icsr: Reg<ICSR_SPEC>
0x0c - Initialization control and status register
prer: Reg<PRER_SPEC>
0x10 - Pre-scaler register
wutr: Reg<WUTR_SPEC>
0x14 - Wakeup timer register
cr: Reg<CR_SPEC>
0x18 - Control register
wpr: Reg<WPR_SPEC>
0x24 - Write protection register
calr: Reg<CALR_SPEC>
0x28 - Calibration register
shiftr: Reg<SHIFTR_SPEC>
0x2c - Shift control register
tstr: Reg<TSTR_SPEC>
0x30 - Timestamp time register
tsdr: Reg<TSDR_SPEC>
0x34 - Timestamp date register
tsssr: Reg<TSSSR_SPEC>
0x38 - Timestamp sub second register
alrmar: Reg<ALRMR_SPEC>
0x40 - Alarm register
alrmassr: Reg<ALRMSSR_SPEC>
0x44 - Alarm sub-second register
alrmbr: Reg<ALRMR_SPEC>
0x48 - Alarm register
alrmbssr: Reg<ALRMSSR_SPEC>
0x4c - Alarm sub-second register
sr: Reg<SR_SPEC>
0x50 - Status register (interrupts)
misr: Reg<MISR_SPEC>
0x54 - Masked interrupt status register
scr: Reg<SCR_SPEC>
0x5c - Status clear register (interrupts)
alrbinr: [Reg<ALRBINR_SPEC>; 2]
0x70..0x78 - RTC alarm A binary mode register
Implementations§
§impl RegisterBlock
impl RegisterBlock
pub fn alrabinr(&self) -> &Reg<ALRBINR_SPEC>
pub fn alrabinr(&self) -> &Reg<ALRBINR_SPEC>
0x70 - RTC alarm A binary mode register
pub fn alrbbinr(&self) -> &Reg<ALRBINR_SPEC>
pub fn alrbbinr(&self) -> &Reg<ALRBINR_SPEC>
0x74 - RTC alarm A binary mode 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more