#[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: CR

0x00 - Control Register

mr: MR

0x04 - Mode Register

timr: TIMR

0x08 - Time Register

calr: CALR

0x0c - Calendar Register

timalr: TIMALR

0x10 - Time Alarm Register

calalr: CALALR

0x14 - Calendar Alarm Register

sr: SR

0x18 - Status Register

sccr: SCCR

0x1c - Status Clear Command Register

ier: IER

0x20 - Interrupt Enable Register

idr: IDR

0x24 - Interrupt Disable Register

imr: IMR

0x28 - Interrupt Mask Register

ver: VER

0x2c - Valid Entry Register

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.