1#[doc = r" Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - time register"]
5 pub tr: TR,
6 #[doc = "0x04 - date register"]
7 pub dr: DR,
8 #[doc = "0x08 - control register"]
9 pub cr: CR,
10 #[doc = "0x0c - initialization and status register"]
11 pub isr: ISR,
12 #[doc = "0x10 - prescaler register"]
13 pub prer: PRER,
14 #[doc = "0x14 - wakeup timer register"]
15 pub wutr: WUTR,
16 _reserved0: [u8; 4usize],
17 #[doc = "0x1c - alarm A register"]
18 pub alrmar: ALRMAR,
19 #[doc = "0x20 - alarm B register"]
20 pub alrmbr: ALRMBR,
21 #[doc = "0x24 - write protection register"]
22 pub wpr: WPR,
23 #[doc = "0x28 - sub second register"]
24 pub ssr: SSR,
25 #[doc = "0x2c - shift control register"]
26 pub shiftr: SHIFTR,
27 #[doc = "0x30 - time stamp time register"]
28 pub tstr: TSTR,
29 #[doc = "0x34 - time stamp date register"]
30 pub tsdr: TSDR,
31 #[doc = "0x38 - timestamp sub second register"]
32 pub tsssr: TSSSR,
33 #[doc = "0x3c - calibration register"]
34 pub calr: CALR,
35 #[doc = "0x40 - tamper configuration register"]
36 pub tampcr: TAMPCR,
37 #[doc = "0x44 - alarm A sub second register"]
38 pub alrmassr: ALRMASSR,
39 #[doc = "0x48 - alarm B sub second register"]
40 pub alrmbssr: ALRMBSSR,
41 #[doc = "0x4c - option register"]
42 pub or: OR,
43 #[doc = "0x50 - backup register"]
44 pub bkpr: [BKPR; 32],
45}
46#[doc = "time register"]
47pub struct TR {
48 register: ::vcell::VolatileCell<u32>,
49}
50#[doc = "time register"]
51pub mod tr;
52#[doc = "date register"]
53pub struct DR {
54 register: ::vcell::VolatileCell<u32>,
55}
56#[doc = "date register"]
57pub mod dr;
58#[doc = "control register"]
59pub struct CR {
60 register: ::vcell::VolatileCell<u32>,
61}
62#[doc = "control register"]
63pub mod cr;
64#[doc = "initialization and status register"]
65pub struct ISR {
66 register: ::vcell::VolatileCell<u32>,
67}
68#[doc = "initialization and status register"]
69pub mod isr;
70#[doc = "prescaler register"]
71pub struct PRER {
72 register: ::vcell::VolatileCell<u32>,
73}
74#[doc = "prescaler register"]
75pub mod prer;
76#[doc = "wakeup timer register"]
77pub struct WUTR {
78 register: ::vcell::VolatileCell<u32>,
79}
80#[doc = "wakeup timer register"]
81pub mod wutr;
82#[doc = "alarm A register"]
83pub struct ALRMAR {
84 register: ::vcell::VolatileCell<u32>,
85}
86#[doc = "alarm A register"]
87pub mod alrmar;
88#[doc = "alarm B register"]
89pub struct ALRMBR {
90 register: ::vcell::VolatileCell<u32>,
91}
92#[doc = "alarm B register"]
93pub mod alrmbr;
94#[doc = "write protection register"]
95pub struct WPR {
96 register: ::vcell::VolatileCell<u32>,
97}
98#[doc = "write protection register"]
99pub mod wpr;
100#[doc = "sub second register"]
101pub struct SSR {
102 register: ::vcell::VolatileCell<u32>,
103}
104#[doc = "sub second register"]
105pub mod ssr;
106#[doc = "shift control register"]
107pub struct SHIFTR {
108 register: ::vcell::VolatileCell<u32>,
109}
110#[doc = "shift control register"]
111pub mod shiftr;
112#[doc = "time stamp time register"]
113pub struct TSTR {
114 register: ::vcell::VolatileCell<u32>,
115}
116#[doc = "time stamp time register"]
117pub mod tstr;
118#[doc = "time stamp date register"]
119pub struct TSDR {
120 register: ::vcell::VolatileCell<u32>,
121}
122#[doc = "time stamp date register"]
123pub mod tsdr;
124#[doc = "timestamp sub second register"]
125pub struct TSSSR {
126 register: ::vcell::VolatileCell<u32>,
127}
128#[doc = "timestamp sub second register"]
129pub mod tsssr;
130#[doc = "calibration register"]
131pub struct CALR {
132 register: ::vcell::VolatileCell<u32>,
133}
134#[doc = "calibration register"]
135pub mod calr;
136#[doc = "tamper configuration register"]
137pub struct TAMPCR {
138 register: ::vcell::VolatileCell<u32>,
139}
140#[doc = "tamper configuration register"]
141pub mod tampcr;
142#[doc = "alarm A sub second register"]
143pub struct ALRMASSR {
144 register: ::vcell::VolatileCell<u32>,
145}
146#[doc = "alarm A sub second register"]
147pub mod alrmassr;
148#[doc = "alarm B sub second register"]
149pub struct ALRMBSSR {
150 register: ::vcell::VolatileCell<u32>,
151}
152#[doc = "alarm B sub second register"]
153pub mod alrmbssr;
154#[doc = "option register"]
155pub struct OR {
156 register: ::vcell::VolatileCell<u32>,
157}
158#[doc = "option register"]
159pub mod or;
160#[doc = "backup register"]
161pub struct BKPR {
162 register: ::vcell::VolatileCell<u32>,
163}
164#[doc = "backup register"]
165pub mod bkpr;