ra4m3/
rtc.rs

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