#[repr(C)]pub struct RegisterBlock {
pub cr: CR,
pub mr: MR,
pub timr: TIMR,
pub calr: CALR,
pub timalr: TIMALR,
pub calalr: CALALR,
pub sr: SR,
pub sccr: SCCR,
pub ier: IER,
pub idr: IDR,
pub imr: IMR,
pub ver: VER,
}Expand description
Register block
Fields§
§cr: CR0x00 - Control Register
mr: MR0x04 - Mode Register
timr: TIMR0x08 - Time Register
calr: CALR0x0c - Calendar Register
timalr: TIMALR0x10 - Time Alarm Register
calalr: CALALR0x14 - Calendar Alarm Register
sr: SR0x18 - Status Register
sccr: SCCR0x1c - Status Clear Command Register
ier: IER0x20 - Interrupt Enable Register
idr: IDR0x24 - Interrupt Disable Register
imr: IMR0x28 - Interrupt Mask Register
ver: VER0x2c - Valid Entry Register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnsafeUnpin 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