ra6m1 0.2.0

Peripheral access API for ra6m1 microcontrollers (generated using svd2rust)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - 64-Hz Counter"]
    pub r64cnt: R64CNT,
    _reserved1: [u8; 0x01],
    _reserved_1_bcnt0: [u8; 0x01],
    _reserved2: [u8; 0x01],
    _reserved_2_bcnt1: [u8; 0x01],
    _reserved3: [u8; 0x01],
    _reserved_3_bcnt2: [u8; 0x01],
    _reserved4: [u8; 0x01],
    _reserved_4_bcnt3: [u8; 0x01],
    _reserved5: [u8; 0x01],
    #[doc = "0x0a - Day Counter"]
    pub rdaycnt: RDAYCNT,
    _reserved6: [u8; 0x01],
    #[doc = "0x0c - Month Counter"]
    pub rmoncnt: RMONCNT,
    _reserved7: [u8; 0x01],
    #[doc = "0x0e - Year Counter"]
    pub ryrcnt: RYRCNT,
    _reserved_8_rsecar: [u8; 0x01],
    _reserved9: [u8; 0x01],
    _reserved_9_rminar: [u8; 0x01],
    _reserved10: [u8; 0x01],
    _reserved_10_rhrar: [u8; 0x01],
    _reserved11: [u8; 0x01],
    _reserved_11_rwkar: [u8; 0x01],
    _reserved12: [u8; 0x01],
    _reserved_12_rdayar: [u8; 0x01],
    _reserved13: [u8; 0x01],
    _reserved_13_rmonar: [u8; 0x01],
    _reserved14: [u8; 0x01],
    _reserved_14_ryrar: [u8; 0x02],
    _reserved_15_ryraren: [u8; 0x01],
    _reserved16: [u8; 0x03],
    #[doc = "0x22 - RTC Control Register 1"]
    pub rcr1: RCR1,
    _reserved17: [u8; 0x01],
    #[doc = "0x24 - RTC Control Register 2"]
    pub rcr2: RCR2,
    _reserved18: [u8; 0x03],
    #[doc = "0x28 - RTC Control Register 4"]
    pub rcr4: RCR4,
    _reserved19: [u8; 0x01],
    #[doc = "0x2a - Frequency Register H"]
    pub rfrh: RFRH,
    #[doc = "0x2c - Frequency Register L"]
    pub rfrl: RFRL,
    #[doc = "0x2e - Time Error Adjustment Register"]
    pub radj: RADJ,
    _reserved22: [u8; 0x11],
    #[doc = "0x40 - Time Capture Control Register %s"]
    pub rtccr0: RTCCR,
    _reserved23: [u8; 0x01],
    #[doc = "0x42 - Time Capture Control Register %s"]
    pub rtccr1: RTCCR,
    _reserved24: [u8; 0x01],
    #[doc = "0x44 - Time Capture Control Register %s"]
    pub rtccr2: RTCCR,
    _reserved25: [u8; 0x0d],
    _reserved_25_rseccp0: [u8; 0x01],
    _reserved26: [u8; 0x01],
    _reserved_26_rmincp0: [u8; 0x01],
    _reserved27: [u8; 0x01],
    _reserved_27_rhrcp0: [u8; 0x01],
    _reserved28: [u8; 0x03],
    _reserved_28_rdaycp0: [u8; 0x01],
    _reserved29: [u8; 0x01],
    #[doc = "0x5c - Month Capture Register %s"]
    pub rmoncp0: RMONCP,
    _reserved30: [u8; 0x05],
    _reserved_30_rseccp1: [u8; 0x01],
    _reserved31: [u8; 0x01],
    _reserved_31_rmincp1: [u8; 0x01],
    _reserved32: [u8; 0x01],
    _reserved_32_rhrcp1: [u8; 0x01],
    _reserved33: [u8; 0x03],
    _reserved_33_rdaycp1: [u8; 0x01],
    _reserved34: [u8; 0x01],
    #[doc = "0x6c - Month Capture Register %s"]
    pub rmoncp1: RMONCP,
    _reserved35: [u8; 0x05],
    _reserved_35_rseccp2: [u8; 0x01],
    _reserved36: [u8; 0x01],
    _reserved_36_rmincp2: [u8; 0x01],
    _reserved37: [u8; 0x01],
    _reserved_37_rhrcp2: [u8; 0x01],
    _reserved38: [u8; 0x03],
    _reserved_38_rdaycp2: [u8; 0x01],
    _reserved39: [u8; 0x01],
    #[doc = "0x7c - Month Capture Register %s"]
    pub rmoncp2: RMONCP,
}
impl RegisterBlock {
    #[doc = "0x02 - Binary Counter 0"]
    #[inline(always)]
    pub const fn bcnt0(&self) -> &BCNT0 {
        unsafe { &*(self as *const Self).cast::<u8>().add(2usize).cast() }
    }
    #[doc = "0x02 - Second Counter"]
    #[inline(always)]
    pub const fn rseccnt(&self) -> &RSECCNT {
        unsafe { &*(self as *const Self).cast::<u8>().add(2usize).cast() }
    }
    #[doc = "0x04 - Binary Counter 1"]
    #[inline(always)]
    pub const fn bcnt1(&self) -> &BCNT1 {
        unsafe { &*(self as *const Self).cast::<u8>().add(4usize).cast() }
    }
    #[doc = "0x04 - Minute Counter"]
    #[inline(always)]
    pub const fn rmincnt(&self) -> &RMINCNT {
        unsafe { &*(self as *const Self).cast::<u8>().add(4usize).cast() }
    }
    #[doc = "0x06 - Binary Counter 2"]
    #[inline(always)]
    pub const fn bcnt2(&self) -> &BCNT2 {
        unsafe { &*(self as *const Self).cast::<u8>().add(6usize).cast() }
    }
    #[doc = "0x06 - Hour Counter"]
    #[inline(always)]
    pub const fn rhrcnt(&self) -> &RHRCNT {
        unsafe { &*(self as *const Self).cast::<u8>().add(6usize).cast() }
    }
    #[doc = "0x08 - Binary Counter 3"]
    #[inline(always)]
    pub const fn bcnt3(&self) -> &BCNT3 {
        unsafe { &*(self as *const Self).cast::<u8>().add(8usize).cast() }
    }
    #[doc = "0x08 - Day-of-Week Counter"]
    #[inline(always)]
    pub const fn rwkcnt(&self) -> &RWKCNT {
        unsafe { &*(self as *const Self).cast::<u8>().add(8usize).cast() }
    }
    #[doc = "0x10 - Binary Counter 0 Alarm Register"]
    #[inline(always)]
    pub const fn bcnt0ar(&self) -> &BCNT0AR {
        unsafe { &*(self as *const Self).cast::<u8>().add(16usize).cast() }
    }
    #[doc = "0x10 - Second Alarm Register"]
    #[inline(always)]
    pub const fn rsecar(&self) -> &RSECAR {
        unsafe { &*(self as *const Self).cast::<u8>().add(16usize).cast() }
    }
    #[doc = "0x12 - Binary Counter 1 Alarm Register"]
    #[inline(always)]
    pub const fn bcnt1ar(&self) -> &BCNT1AR {
        unsafe { &*(self as *const Self).cast::<u8>().add(18usize).cast() }
    }
    #[doc = "0x12 - Minute Alarm Register"]
    #[inline(always)]
    pub const fn rminar(&self) -> &RMINAR {
        unsafe { &*(self as *const Self).cast::<u8>().add(18usize).cast() }
    }
    #[doc = "0x14 - Binary Counter 2 Alarm Register"]
    #[inline(always)]
    pub const fn bcnt2ar(&self) -> &BCNT2AR {
        unsafe { &*(self as *const Self).cast::<u8>().add(20usize).cast() }
    }
    #[doc = "0x14 - Hour Alarm Register"]
    #[inline(always)]
    pub const fn rhrar(&self) -> &RHRAR {
        unsafe { &*(self as *const Self).cast::<u8>().add(20usize).cast() }
    }
    #[doc = "0x16 - Binary Counter 3 Alarm Register"]
    #[inline(always)]
    pub const fn bcnt3ar(&self) -> &BCNT3AR {
        unsafe { &*(self as *const Self).cast::<u8>().add(22usize).cast() }
    }
    #[doc = "0x16 - Day-of-Week Alarm Register"]
    #[inline(always)]
    pub const fn rwkar(&self) -> &RWKAR {
        unsafe { &*(self as *const Self).cast::<u8>().add(22usize).cast() }
    }
    #[doc = "0x18 - Binary Counter 0 Alarm Enable Register"]
    #[inline(always)]
    pub const fn bcnt0aer(&self) -> &BCNT0AER {
        unsafe { &*(self as *const Self).cast::<u8>().add(24usize).cast() }
    }
    #[doc = "0x18 - Date Alarm Register"]
    #[inline(always)]
    pub const fn rdayar(&self) -> &RDAYAR {
        unsafe { &*(self as *const Self).cast::<u8>().add(24usize).cast() }
    }
    #[doc = "0x1a - Binary Counter 1 Alarm Enable Register"]
    #[inline(always)]
    pub const fn bcnt1aer(&self) -> &BCNT1AER {
        unsafe { &*(self as *const Self).cast::<u8>().add(26usize).cast() }
    }
    #[doc = "0x1a - Month Alarm Register"]
    #[inline(always)]
    pub const fn rmonar(&self) -> &RMONAR {
        unsafe { &*(self as *const Self).cast::<u8>().add(26usize).cast() }
    }
    #[doc = "0x1c - Binary Counter 2 Alarm Enable Register"]
    #[inline(always)]
    pub const fn bcnt2aer(&self) -> &BCNT2AER {
        unsafe { &*(self as *const Self).cast::<u8>().add(28usize).cast() }
    }
    #[doc = "0x1c - Year Alarm Register"]
    #[inline(always)]
    pub const fn ryrar(&self) -> &RYRAR {
        unsafe { &*(self as *const Self).cast::<u8>().add(28usize).cast() }
    }
    #[doc = "0x1e - Binary Counter 3 Alarm Enable Register"]
    #[inline(always)]
    pub const fn bcnt3aer(&self) -> &BCNT3AER {
        unsafe { &*(self as *const Self).cast::<u8>().add(30usize).cast() }
    }
    #[doc = "0x1e - Year Alarm Enable Register"]
    #[inline(always)]
    pub const fn ryraren(&self) -> &RYRAREN {
        unsafe { &*(self as *const Self).cast::<u8>().add(30usize).cast() }
    }
    #[doc = "0x52 - BCNT0 Capture Register %s"]
    #[inline(always)]
    pub const fn bcnt0cp0(&self) -> &BCNT0CP {
        unsafe { &*(self as *const Self).cast::<u8>().add(82usize).cast() }
    }
    #[doc = "0x52 - Second Capture Register %s"]
    #[inline(always)]
    pub const fn rseccp0(&self) -> &RSECCP {
        unsafe { &*(self as *const Self).cast::<u8>().add(82usize).cast() }
    }
    #[doc = "0x54 - BCNT1 Capture Register %s"]
    #[inline(always)]
    pub const fn bcnt1cp0(&self) -> &BCNT1CP {
        unsafe { &*(self as *const Self).cast::<u8>().add(84usize).cast() }
    }
    #[doc = "0x54 - Minute Capture Register %s"]
    #[inline(always)]
    pub const fn rmincp0(&self) -> &RMINCP {
        unsafe { &*(self as *const Self).cast::<u8>().add(84usize).cast() }
    }
    #[doc = "0x56 - BCNT2 Capture Register %s"]
    #[inline(always)]
    pub const fn bcnt2cp0(&self) -> &BCNT2CP {
        unsafe { &*(self as *const Self).cast::<u8>().add(86usize).cast() }
    }
    #[doc = "0x56 - Hour Capture Register %s"]
    #[inline(always)]
    pub const fn rhrcp0(&self) -> &RHRCP {
        unsafe { &*(self as *const Self).cast::<u8>().add(86usize).cast() }
    }
    #[doc = "0x5a - BCNT3 Capture Register %s"]
    #[inline(always)]
    pub const fn bcnt3cp0(&self) -> &BCNT3CP {
        unsafe { &*(self as *const Self).cast::<u8>().add(90usize).cast() }
    }
    #[doc = "0x5a - Date Capture Register %s"]
    #[inline(always)]
    pub const fn rdaycp0(&self) -> &RDAYCP {
        unsafe { &*(self as *const Self).cast::<u8>().add(90usize).cast() }
    }
    #[doc = "0x62 - BCNT0 Capture Register %s"]
    #[inline(always)]
    pub const fn bcnt0cp1(&self) -> &BCNT0CP {
        unsafe { &*(self as *const Self).cast::<u8>().add(98usize).cast() }
    }
    #[doc = "0x62 - Second Capture Register %s"]
    #[inline(always)]
    pub const fn rseccp1(&self) -> &RSECCP {
        unsafe { &*(self as *const Self).cast::<u8>().add(98usize).cast() }
    }
    #[doc = "0x64 - BCNT1 Capture Register %s"]
    #[inline(always)]
    pub const fn bcnt1cp1(&self) -> &BCNT1CP {
        unsafe { &*(self as *const Self).cast::<u8>().add(100usize).cast() }
    }
    #[doc = "0x64 - Minute Capture Register %s"]
    #[inline(always)]
    pub const fn rmincp1(&self) -> &RMINCP {
        unsafe { &*(self as *const Self).cast::<u8>().add(100usize).cast() }
    }
    #[doc = "0x66 - BCNT2 Capture Register %s"]
    #[inline(always)]
    pub const fn bcnt2cp1(&self) -> &BCNT2CP {
        unsafe { &*(self as *const Self).cast::<u8>().add(102usize).cast() }
    }
    #[doc = "0x66 - Hour Capture Register %s"]
    #[inline(always)]
    pub const fn rhrcp1(&self) -> &RHRCP {
        unsafe { &*(self as *const Self).cast::<u8>().add(102usize).cast() }
    }
    #[doc = "0x6a - BCNT3 Capture Register %s"]
    #[inline(always)]
    pub const fn bcnt3cp1(&self) -> &BCNT3CP {
        unsafe { &*(self as *const Self).cast::<u8>().add(106usize).cast() }
    }
    #[doc = "0x6a - Date Capture Register %s"]
    #[inline(always)]
    pub const fn rdaycp1(&self) -> &RDAYCP {
        unsafe { &*(self as *const Self).cast::<u8>().add(106usize).cast() }
    }
    #[doc = "0x72 - BCNT0 Capture Register %s"]
    #[inline(always)]
    pub const fn bcnt0cp2(&self) -> &BCNT0CP {
        unsafe { &*(self as *const Self).cast::<u8>().add(114usize).cast() }
    }
    #[doc = "0x72 - Second Capture Register %s"]
    #[inline(always)]
    pub const fn rseccp2(&self) -> &RSECCP {
        unsafe { &*(self as *const Self).cast::<u8>().add(114usize).cast() }
    }
    #[doc = "0x74 - BCNT1 Capture Register %s"]
    #[inline(always)]
    pub const fn bcnt1cp2(&self) -> &BCNT1CP {
        unsafe { &*(self as *const Self).cast::<u8>().add(116usize).cast() }
    }
    #[doc = "0x74 - Minute Capture Register %s"]
    #[inline(always)]
    pub const fn rmincp2(&self) -> &RMINCP {
        unsafe { &*(self as *const Self).cast::<u8>().add(116usize).cast() }
    }
    #[doc = "0x76 - BCNT2 Capture Register %s"]
    #[inline(always)]
    pub const fn bcnt2cp2(&self) -> &BCNT2CP {
        unsafe { &*(self as *const Self).cast::<u8>().add(118usize).cast() }
    }
    #[doc = "0x76 - Hour Capture Register %s"]
    #[inline(always)]
    pub const fn rhrcp2(&self) -> &RHRCP {
        unsafe { &*(self as *const Self).cast::<u8>().add(118usize).cast() }
    }
    #[doc = "0x7a - BCNT3 Capture Register %s"]
    #[inline(always)]
    pub const fn bcnt3cp2(&self) -> &BCNT3CP {
        unsafe { &*(self as *const Self).cast::<u8>().add(122usize).cast() }
    }
    #[doc = "0x7a - Date Capture Register %s"]
    #[inline(always)]
    pub const fn rdaycp2(&self) -> &RDAYCP {
        unsafe { &*(self as *const Self).cast::<u8>().add(122usize).cast() }
    }
}
#[doc = "R64CNT (r) register accessor: an alias for `Reg<R64CNT_SPEC>`"]
pub type R64CNT = crate::Reg<r64cnt::R64CNT_SPEC>;
#[doc = "64-Hz Counter"]
pub mod r64cnt;
#[doc = "RSECCNT (rw) register accessor: an alias for `Reg<RSECCNT_SPEC>`"]
pub type RSECCNT = crate::Reg<rseccnt::RSECCNT_SPEC>;
#[doc = "Second Counter"]
pub mod rseccnt;
#[doc = "BCNT0 (rw) register accessor: an alias for `Reg<BCNT0_SPEC>`"]
pub type BCNT0 = crate::Reg<bcnt0::BCNT0_SPEC>;
#[doc = "Binary Counter 0"]
pub mod bcnt0;
#[doc = "RMINCNT (rw) register accessor: an alias for `Reg<RMINCNT_SPEC>`"]
pub type RMINCNT = crate::Reg<rmincnt::RMINCNT_SPEC>;
#[doc = "Minute Counter"]
pub mod rmincnt;
#[doc = "BCNT1 (rw) register accessor: an alias for `Reg<BCNT1_SPEC>`"]
pub type BCNT1 = crate::Reg<bcnt1::BCNT1_SPEC>;
#[doc = "Binary Counter 1"]
pub mod bcnt1;
#[doc = "RHRCNT (rw) register accessor: an alias for `Reg<RHRCNT_SPEC>`"]
pub type RHRCNT = crate::Reg<rhrcnt::RHRCNT_SPEC>;
#[doc = "Hour Counter"]
pub mod rhrcnt;
#[doc = "BCNT2 (rw) register accessor: an alias for `Reg<BCNT2_SPEC>`"]
pub type BCNT2 = crate::Reg<bcnt2::BCNT2_SPEC>;
#[doc = "Binary Counter 2"]
pub mod bcnt2;
#[doc = "RWKCNT (rw) register accessor: an alias for `Reg<RWKCNT_SPEC>`"]
pub type RWKCNT = crate::Reg<rwkcnt::RWKCNT_SPEC>;
#[doc = "Day-of-Week Counter"]
pub mod rwkcnt;
#[doc = "BCNT3 (rw) register accessor: an alias for `Reg<BCNT3_SPEC>`"]
pub type BCNT3 = crate::Reg<bcnt3::BCNT3_SPEC>;
#[doc = "Binary Counter 3"]
pub mod bcnt3;
#[doc = "RDAYCNT (rw) register accessor: an alias for `Reg<RDAYCNT_SPEC>`"]
pub type RDAYCNT = crate::Reg<rdaycnt::RDAYCNT_SPEC>;
#[doc = "Day Counter"]
pub mod rdaycnt;
#[doc = "RMONCNT (rw) register accessor: an alias for `Reg<RMONCNT_SPEC>`"]
pub type RMONCNT = crate::Reg<rmoncnt::RMONCNT_SPEC>;
#[doc = "Month Counter"]
pub mod rmoncnt;
#[doc = "RYRCNT (rw) register accessor: an alias for `Reg<RYRCNT_SPEC>`"]
pub type RYRCNT = crate::Reg<ryrcnt::RYRCNT_SPEC>;
#[doc = "Year Counter"]
pub mod ryrcnt;
#[doc = "RSECAR (rw) register accessor: an alias for `Reg<RSECAR_SPEC>`"]
pub type RSECAR = crate::Reg<rsecar::RSECAR_SPEC>;
#[doc = "Second Alarm Register"]
pub mod rsecar;
#[doc = "BCNT0AR (rw) register accessor: an alias for `Reg<BCNT0AR_SPEC>`"]
pub type BCNT0AR = crate::Reg<bcnt0ar::BCNT0AR_SPEC>;
#[doc = "Binary Counter 0 Alarm Register"]
pub mod bcnt0ar;
#[doc = "RMINAR (rw) register accessor: an alias for `Reg<RMINAR_SPEC>`"]
pub type RMINAR = crate::Reg<rminar::RMINAR_SPEC>;
#[doc = "Minute Alarm Register"]
pub mod rminar;
#[doc = "BCNT1AR (rw) register accessor: an alias for `Reg<BCNT1AR_SPEC>`"]
pub type BCNT1AR = crate::Reg<bcnt1ar::BCNT1AR_SPEC>;
#[doc = "Binary Counter 1 Alarm Register"]
pub mod bcnt1ar;
#[doc = "RHRAR (rw) register accessor: an alias for `Reg<RHRAR_SPEC>`"]
pub type RHRAR = crate::Reg<rhrar::RHRAR_SPEC>;
#[doc = "Hour Alarm Register"]
pub mod rhrar;
#[doc = "BCNT2AR (rw) register accessor: an alias for `Reg<BCNT2AR_SPEC>`"]
pub type BCNT2AR = crate::Reg<bcnt2ar::BCNT2AR_SPEC>;
#[doc = "Binary Counter 2 Alarm Register"]
pub mod bcnt2ar;
#[doc = "RWKAR (rw) register accessor: an alias for `Reg<RWKAR_SPEC>`"]
pub type RWKAR = crate::Reg<rwkar::RWKAR_SPEC>;
#[doc = "Day-of-Week Alarm Register"]
pub mod rwkar;
#[doc = "BCNT3AR (rw) register accessor: an alias for `Reg<BCNT3AR_SPEC>`"]
pub type BCNT3AR = crate::Reg<bcnt3ar::BCNT3AR_SPEC>;
#[doc = "Binary Counter 3 Alarm Register"]
pub mod bcnt3ar;
#[doc = "RDAYAR (rw) register accessor: an alias for `Reg<RDAYAR_SPEC>`"]
pub type RDAYAR = crate::Reg<rdayar::RDAYAR_SPEC>;
#[doc = "Date Alarm Register"]
pub mod rdayar;
#[doc = "BCNT0AER (rw) register accessor: an alias for `Reg<BCNT0AER_SPEC>`"]
pub type BCNT0AER = crate::Reg<bcnt0aer::BCNT0AER_SPEC>;
#[doc = "Binary Counter 0 Alarm Enable Register"]
pub mod bcnt0aer;
#[doc = "RMONAR (rw) register accessor: an alias for `Reg<RMONAR_SPEC>`"]
pub type RMONAR = crate::Reg<rmonar::RMONAR_SPEC>;
#[doc = "Month Alarm Register"]
pub mod rmonar;
#[doc = "BCNT1AER (rw) register accessor: an alias for `Reg<BCNT1AER_SPEC>`"]
pub type BCNT1AER = crate::Reg<bcnt1aer::BCNT1AER_SPEC>;
#[doc = "Binary Counter 1 Alarm Enable Register"]
pub mod bcnt1aer;
#[doc = "RYRAR (rw) register accessor: an alias for `Reg<RYRAR_SPEC>`"]
pub type RYRAR = crate::Reg<ryrar::RYRAR_SPEC>;
#[doc = "Year Alarm Register"]
pub mod ryrar;
#[doc = "BCNT2AER (rw) register accessor: an alias for `Reg<BCNT2AER_SPEC>`"]
pub type BCNT2AER = crate::Reg<bcnt2aer::BCNT2AER_SPEC>;
#[doc = "Binary Counter 2 Alarm Enable Register"]
pub mod bcnt2aer;
#[doc = "RYRAREN (rw) register accessor: an alias for `Reg<RYRAREN_SPEC>`"]
pub type RYRAREN = crate::Reg<ryraren::RYRAREN_SPEC>;
#[doc = "Year Alarm Enable Register"]
pub mod ryraren;
#[doc = "BCNT3AER (rw) register accessor: an alias for `Reg<BCNT3AER_SPEC>`"]
pub type BCNT3AER = crate::Reg<bcnt3aer::BCNT3AER_SPEC>;
#[doc = "Binary Counter 3 Alarm Enable Register"]
pub mod bcnt3aer;
#[doc = "RCR1 (rw) register accessor: an alias for `Reg<RCR1_SPEC>`"]
pub type RCR1 = crate::Reg<rcr1::RCR1_SPEC>;
#[doc = "RTC Control Register 1"]
pub mod rcr1;
#[doc = "RCR2 (rw) register accessor: an alias for `Reg<RCR2_SPEC>`"]
pub type RCR2 = crate::Reg<rcr2::RCR2_SPEC>;
#[doc = "RTC Control Register 2"]
pub mod rcr2;
#[doc = "RCR4 (rw) register accessor: an alias for `Reg<RCR4_SPEC>`"]
pub type RCR4 = crate::Reg<rcr4::RCR4_SPEC>;
#[doc = "RTC Control Register 4"]
pub mod rcr4;
#[doc = "RFRH (rw) register accessor: an alias for `Reg<RFRH_SPEC>`"]
pub type RFRH = crate::Reg<rfrh::RFRH_SPEC>;
#[doc = "Frequency Register H"]
pub mod rfrh;
#[doc = "RFRL (rw) register accessor: an alias for `Reg<RFRL_SPEC>`"]
pub type RFRL = crate::Reg<rfrl::RFRL_SPEC>;
#[doc = "Frequency Register L"]
pub mod rfrl;
#[doc = "RADJ (rw) register accessor: an alias for `Reg<RADJ_SPEC>`"]
pub type RADJ = crate::Reg<radj::RADJ_SPEC>;
#[doc = "Time Error Adjustment Register"]
pub mod radj;
#[doc = "RTCCR (rw) register accessor: an alias for `Reg<RTCCR_SPEC>`"]
pub type RTCCR = crate::Reg<rtccr::RTCCR_SPEC>;
#[doc = "Time Capture Control Register %s"]
pub mod rtccr;
#[doc = "RSECCP (r) register accessor: an alias for `Reg<RSECCP_SPEC>`"]
pub type RSECCP = crate::Reg<rseccp::RSECCP_SPEC>;
#[doc = "Second Capture Register %s"]
pub mod rseccp;
#[doc = "BCNT0CP (r) register accessor: an alias for `Reg<BCNT0CP_SPEC>`"]
pub type BCNT0CP = crate::Reg<bcnt0cp::BCNT0CP_SPEC>;
#[doc = "BCNT0 Capture Register %s"]
pub mod bcnt0cp;
#[doc = "RMINCP (r) register accessor: an alias for `Reg<RMINCP_SPEC>`"]
pub type RMINCP = crate::Reg<rmincp::RMINCP_SPEC>;
#[doc = "Minute Capture Register %s"]
pub mod rmincp;
#[doc = "BCNT1CP (r) register accessor: an alias for `Reg<BCNT1CP_SPEC>`"]
pub type BCNT1CP = crate::Reg<bcnt1cp::BCNT1CP_SPEC>;
#[doc = "BCNT1 Capture Register %s"]
pub mod bcnt1cp;
#[doc = "RHRCP (r) register accessor: an alias for `Reg<RHRCP_SPEC>`"]
pub type RHRCP = crate::Reg<rhrcp::RHRCP_SPEC>;
#[doc = "Hour Capture Register %s"]
pub mod rhrcp;
#[doc = "BCNT2CP (r) register accessor: an alias for `Reg<BCNT2CP_SPEC>`"]
pub type BCNT2CP = crate::Reg<bcnt2cp::BCNT2CP_SPEC>;
#[doc = "BCNT2 Capture Register %s"]
pub mod bcnt2cp;
#[doc = "RDAYCP (r) register accessor: an alias for `Reg<RDAYCP_SPEC>`"]
pub type RDAYCP = crate::Reg<rdaycp::RDAYCP_SPEC>;
#[doc = "Date Capture Register %s"]
pub mod rdaycp;
#[doc = "BCNT3CP (r) register accessor: an alias for `Reg<BCNT3CP_SPEC>`"]
pub type BCNT3CP = crate::Reg<bcnt3cp::BCNT3CP_SPEC>;
#[doc = "BCNT3 Capture Register %s"]
pub mod bcnt3cp;
#[doc = "RMONCP (r) register accessor: an alias for `Reg<RMONCP_SPEC>`"]
pub type RMONCP = crate::Reg<rmoncp::RMONCP_SPEC>;
#[doc = "Month Capture Register %s"]
pub mod rmoncp;