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
#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - Control Register"]
    pub cr: CR,
    #[doc = "0x04 - Counter Value"]
    pub cv: CV,
    #[doc = "0x08 - Status Register"]
    pub sr: SR,
    #[doc = "0x0c - Status Clear Register"]
    pub scr: SCR,
    #[doc = "0x10 - Interrupt Enable Register"]
    pub ier: IER,
    #[doc = "0x14 - Interrupt Disable Register"]
    pub idr: IDR,
    #[doc = "0x18 - Interrupt Mask Register"]
    pub imr: IMR,
    #[doc = "0x1c - Wake Enable Register"]
    pub wer: WER,
    #[doc = "0x20 - Alarm Register 0"]
    pub ar0: AR0,
    #[doc = "0x24 - Alarm Register 1"]
    pub ar1: AR1,
    _reserved10: [u8; 0x08],
    #[doc = "0x30 - Periodic Interval Register 0"]
    pub pir0: PIR0,
    #[doc = "0x34 - Periodic Interval Register 1"]
    pub pir1: PIR1,
    _reserved12: [u8; 0x08],
    #[doc = "0x40 - Clock Control Register"]
    pub clock: CLOCK,
    #[doc = "0x44 - Digital Tuner Register"]
    pub dtr: DTR,
    #[doc = "0x48 - Event Enable Register"]
    pub eve: EVE,
    #[doc = "0x4c - Event Disable Register"]
    pub evd: EVD,
    #[doc = "0x50 - Event Mask Register"]
    pub evm: EVM,
    #[doc = "0x54 - Calendar Value"]
    pub calv: CALV,
    _reserved18: [u8; 0x98],
    #[doc = "0xf0 - Parameter Register"]
    pub parameter: PARAMETER,
    _reserved19: [u8; 0x08],
    #[doc = "0xfc - Version Register"]
    pub version: VERSION,
}
#[doc = "AR0 (rw) register accessor: an alias for `Reg<AR0_SPEC>`"]
pub type AR0 = crate::Reg<ar0::AR0_SPEC>;
#[doc = "Alarm Register 0"]
pub mod ar0;
#[doc = "AR1 (rw) register accessor: an alias for `Reg<AR1_SPEC>`"]
pub type AR1 = crate::Reg<ar1::AR1_SPEC>;
#[doc = "Alarm Register 1"]
pub mod ar1;
#[doc = "CALV (rw) register accessor: an alias for `Reg<CALV_SPEC>`"]
pub type CALV = crate::Reg<calv::CALV_SPEC>;
#[doc = "Calendar Value"]
pub mod calv;
#[doc = "CLOCK (rw) register accessor: an alias for `Reg<CLOCK_SPEC>`"]
pub type CLOCK = crate::Reg<clock::CLOCK_SPEC>;
#[doc = "Clock Control Register"]
pub mod clock;
#[doc = "CR (rw) register accessor: an alias for `Reg<CR_SPEC>`"]
pub type CR = crate::Reg<cr::CR_SPEC>;
#[doc = "Control Register"]
pub mod cr;
#[doc = "CV (rw) register accessor: an alias for `Reg<CV_SPEC>`"]
pub type CV = crate::Reg<cv::CV_SPEC>;
#[doc = "Counter Value"]
pub mod cv;
#[doc = "DTR (rw) register accessor: an alias for `Reg<DTR_SPEC>`"]
pub type DTR = crate::Reg<dtr::DTR_SPEC>;
#[doc = "Digital Tuner Register"]
pub mod dtr;
#[doc = "EVD (w) register accessor: an alias for `Reg<EVD_SPEC>`"]
pub type EVD = crate::Reg<evd::EVD_SPEC>;
#[doc = "Event Disable Register"]
pub mod evd;
#[doc = "EVE (w) register accessor: an alias for `Reg<EVE_SPEC>`"]
pub type EVE = crate::Reg<eve::EVE_SPEC>;
#[doc = "Event Enable Register"]
pub mod eve;
#[doc = "EVM (r) register accessor: an alias for `Reg<EVM_SPEC>`"]
pub type EVM = crate::Reg<evm::EVM_SPEC>;
#[doc = "Event Mask Register"]
pub mod evm;
#[doc = "IDR (w) register accessor: an alias for `Reg<IDR_SPEC>`"]
pub type IDR = crate::Reg<idr::IDR_SPEC>;
#[doc = "Interrupt Disable Register"]
pub mod idr;
#[doc = "IER (w) register accessor: an alias for `Reg<IER_SPEC>`"]
pub type IER = crate::Reg<ier::IER_SPEC>;
#[doc = "Interrupt Enable Register"]
pub mod ier;
#[doc = "IMR (r) register accessor: an alias for `Reg<IMR_SPEC>`"]
pub type IMR = crate::Reg<imr::IMR_SPEC>;
#[doc = "Interrupt Mask Register"]
pub mod imr;
#[doc = "PARAMETER (r) register accessor: an alias for `Reg<PARAMETER_SPEC>`"]
pub type PARAMETER = crate::Reg<parameter::PARAMETER_SPEC>;
#[doc = "Parameter Register"]
pub mod parameter;
#[doc = "PIR0 (rw) register accessor: an alias for `Reg<PIR0_SPEC>`"]
pub type PIR0 = crate::Reg<pir0::PIR0_SPEC>;
#[doc = "Periodic Interval Register 0"]
pub mod pir0;
#[doc = "PIR1 (rw) register accessor: an alias for `Reg<PIR1_SPEC>`"]
pub type PIR1 = crate::Reg<pir1::PIR1_SPEC>;
#[doc = "Periodic Interval Register 1"]
pub mod pir1;
#[doc = "SCR (w) register accessor: an alias for `Reg<SCR_SPEC>`"]
pub type SCR = crate::Reg<scr::SCR_SPEC>;
#[doc = "Status Clear Register"]
pub mod scr;
#[doc = "SR (r) register accessor: an alias for `Reg<SR_SPEC>`"]
pub type SR = crate::Reg<sr::SR_SPEC>;
#[doc = "Status Register"]
pub mod sr;
#[doc = "VERSION (r) register accessor: an alias for `Reg<VERSION_SPEC>`"]
pub type VERSION = crate::Reg<version::VERSION_SPEC>;
#[doc = "Version Register"]
pub mod version;
#[doc = "WER (rw) register accessor: an alias for `Reg<WER_SPEC>`"]
pub type WER = crate::Reg<wer::WER_SPEC>;
#[doc = "Wake Enable Register"]
pub mod wer;