1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - CR register"]
5 pub cr: CR,
6 #[doc = "0x04 - OCR register"]
7 pub ocr: OCR,
8 #[doc = "0x08 - BRKCR register"]
9 pub brkcr: BRKCR,
10 #[doc = "0x0c - BRKIN register"]
11 pub brkin: BRKIN,
12 _reserved4: [u8; 0x10],
13 #[doc = "0x20 - PERIOD register"]
14 pub period: PERIOD,
15 #[doc = "0x24 - CMPA register"]
16 pub cmpa: CMPA,
17 #[doc = "0x28 - CMPB register"]
18 pub cmpb: CMPB,
19 #[doc = "0x2c - DZA register"]
20 pub dza: DZA,
21 #[doc = "0x30 - DZB register"]
22 pub dzb: DZB,
23 #[doc = "0x34 - CMPA2 register"]
24 pub cmpa2: CMPA2,
25 #[doc = "0x38 - CMPB2 register"]
26 pub cmpb2: CMPB2,
27 _reserved11: [u8; 0x14],
28 #[doc = "0x50 - OVFTRG register"]
29 pub ovftrg: OVFTRG,
30 #[doc = "0x54 - CMPTRG register"]
31 pub cmptrg: CMPTRG,
32 _reserved13: [u8; 0x08],
33 #[doc = "0x60 - EVMUX register"]
34 pub evmux: EVMUX,
35 #[doc = "0x64 - EVMSK register"]
36 pub evmsk: EVMSK,
37 _reserved15: [u8; 0x08],
38 #[doc = "0x70 - IE register"]
39 pub ie: IE,
40 #[doc = "0x74 - IF register"]
41 pub if_: IF,
42 #[doc = "0x78 - VALUE register"]
43 pub value: VALUE,
44 #[doc = "0x7c - SR register"]
45 pub sr: SR,
46}
47#[doc = "CR (rw) register accessor: an alias for `Reg<CR_SPEC>`"]
48pub type CR = crate::Reg<cr::CR_SPEC>;
49#[doc = "CR register"]
50pub mod cr;
51#[doc = "OCR (rw) register accessor: an alias for `Reg<OCR_SPEC>`"]
52pub type OCR = crate::Reg<ocr::OCR_SPEC>;
53#[doc = "OCR register"]
54pub mod ocr;
55#[doc = "BRKCR (rw) register accessor: an alias for `Reg<BRKCR_SPEC>`"]
56pub type BRKCR = crate::Reg<brkcr::BRKCR_SPEC>;
57#[doc = "BRKCR register"]
58pub mod brkcr;
59#[doc = "BRKIN (rw) register accessor: an alias for `Reg<BRKIN_SPEC>`"]
60pub type BRKIN = crate::Reg<brkin::BRKIN_SPEC>;
61#[doc = "BRKIN register"]
62pub mod brkin;
63#[doc = "PERIOD (rw) register accessor: an alias for `Reg<PERIOD_SPEC>`"]
64pub type PERIOD = crate::Reg<period::PERIOD_SPEC>;
65#[doc = "PERIOD register"]
66pub mod period;
67#[doc = "CMPA (rw) register accessor: an alias for `Reg<CMPA_SPEC>`"]
68pub type CMPA = crate::Reg<cmpa::CMPA_SPEC>;
69#[doc = "CMPA register"]
70pub mod cmpa;
71#[doc = "CMPB (rw) register accessor: an alias for `Reg<CMPB_SPEC>`"]
72pub type CMPB = crate::Reg<cmpb::CMPB_SPEC>;
73#[doc = "CMPB register"]
74pub mod cmpb;
75#[doc = "DZA (rw) register accessor: an alias for `Reg<DZA_SPEC>`"]
76pub type DZA = crate::Reg<dza::DZA_SPEC>;
77#[doc = "DZA register"]
78pub mod dza;
79#[doc = "DZB (rw) register accessor: an alias for `Reg<DZB_SPEC>`"]
80pub type DZB = crate::Reg<dzb::DZB_SPEC>;
81#[doc = "DZB register"]
82pub mod dzb;
83#[doc = "CMPA2 (rw) register accessor: an alias for `Reg<CMPA2_SPEC>`"]
84pub type CMPA2 = crate::Reg<cmpa2::CMPA2_SPEC>;
85#[doc = "CMPA2 register"]
86pub mod cmpa2;
87#[doc = "CMPB2 (rw) register accessor: an alias for `Reg<CMPB2_SPEC>`"]
88pub type CMPB2 = crate::Reg<cmpb2::CMPB2_SPEC>;
89#[doc = "CMPB2 register"]
90pub mod cmpb2;
91#[doc = "OVFTRG (rw) register accessor: an alias for `Reg<OVFTRG_SPEC>`"]
92pub type OVFTRG = crate::Reg<ovftrg::OVFTRG_SPEC>;
93#[doc = "OVFTRG register"]
94pub mod ovftrg;
95#[doc = "CMPTRG (rw) register accessor: an alias for `Reg<CMPTRG_SPEC>`"]
96pub type CMPTRG = crate::Reg<cmptrg::CMPTRG_SPEC>;
97#[doc = "CMPTRG register"]
98pub mod cmptrg;
99#[doc = "EVMUX (rw) register accessor: an alias for `Reg<EVMUX_SPEC>`"]
100pub type EVMUX = crate::Reg<evmux::EVMUX_SPEC>;
101#[doc = "EVMUX register"]
102pub mod evmux;
103#[doc = "EVMSK (rw) register accessor: an alias for `Reg<EVMSK_SPEC>`"]
104pub type EVMSK = crate::Reg<evmsk::EVMSK_SPEC>;
105#[doc = "EVMSK register"]
106pub mod evmsk;
107#[doc = "IE (rw) register accessor: an alias for `Reg<IE_SPEC>`"]
108pub type IE = crate::Reg<ie::IE_SPEC>;
109#[doc = "IE register"]
110pub mod ie;
111#[doc = "IF (rw) register accessor: an alias for `Reg<IF_SPEC>`"]
112pub type IF = crate::Reg<if_::IF_SPEC>;
113#[doc = "IF register"]
114pub mod if_;
115#[doc = "VALUE (rw) register accessor: an alias for `Reg<VALUE_SPEC>`"]
116pub type VALUE = crate::Reg<value::VALUE_SPEC>;
117#[doc = "VALUE register"]
118pub mod value;
119#[doc = "SR (rw) register accessor: an alias for `Reg<SR_SPEC>`"]
120pub type SR = crate::Reg<sr::SR_SPEC>;
121#[doc = "SR register"]
122pub mod sr;