1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Control Register"]
5 pub ctrl: crate::Reg<ctrl::CTRL_SPEC>,
6 #[doc = "0x04 - Display Control Register"]
7 pub dispctrl: crate::Reg<dispctrl::DISPCTRL_SPEC>,
8 #[doc = "0x08 - Segment Enable Register"]
9 pub segen: crate::Reg<segen::SEGEN_SPEC>,
10 #[doc = "0x0c - Blink and Animation Control Register"]
11 pub bactrl: crate::Reg<bactrl::BACTRL_SPEC>,
12 #[doc = "0x10 - Status Register"]
13 pub status: crate::Reg<status::STATUS_SPEC>,
14 #[doc = "0x14 - Animation Register a"]
15 pub arega: crate::Reg<arega::AREGA_SPEC>,
16 #[doc = "0x18 - Animation Register B"]
17 pub aregb: crate::Reg<aregb::AREGB_SPEC>,
18 #[doc = "0x1c - Interrupt Flag Register"]
19 pub if_: crate::Reg<if_::IF_SPEC>,
20 #[doc = "0x20 - Interrupt Flag Set Register"]
21 pub ifs: crate::Reg<ifs::IFS_SPEC>,
22 #[doc = "0x24 - Interrupt Flag Clear Register"]
23 pub ifc: crate::Reg<ifc::IFC_SPEC>,
24 #[doc = "0x28 - Interrupt Enable Register"]
25 pub ien: crate::Reg<ien::IEN_SPEC>,
26 _reserved11: [u8; 0x04],
27 #[doc = "0x30 - Analog BIAS Control"]
28 pub biasctrl: crate::Reg<biasctrl::BIASCTRL_SPEC>,
29 _reserved12: [u8; 0x0c],
30 #[doc = "0x40 - Segment Data Low Register 0"]
31 pub segd0l: crate::Reg<segd0l::SEGD0L_SPEC>,
32 #[doc = "0x44 - Segment Data Low Register 1"]
33 pub segd1l: crate::Reg<segd1l::SEGD1L_SPEC>,
34 #[doc = "0x48 - Segment Data Low Register 2"]
35 pub segd2l: crate::Reg<segd2l::SEGD2L_SPEC>,
36 #[doc = "0x4c - Segment Data Low Register 3"]
37 pub segd3l: crate::Reg<segd3l::SEGD3L_SPEC>,
38 #[doc = "0x50 - Segment Data High Register 0"]
39 pub segd0h: crate::Reg<segd0h::SEGD0H_SPEC>,
40 #[doc = "0x54 - Segment Data High Register 1"]
41 pub segd1h: crate::Reg<segd1h::SEGD1H_SPEC>,
42 #[doc = "0x58 - Segment Data High Register 2"]
43 pub segd2h: crate::Reg<segd2h::SEGD2H_SPEC>,
44 #[doc = "0x5c - Segment Data High Register 3"]
45 pub segd3h: crate::Reg<segd3h::SEGD3H_SPEC>,
46 #[doc = "0x60 - Segment Data Low Register 4"]
47 pub segd4l: crate::Reg<segd4l::SEGD4L_SPEC>,
48 #[doc = "0x64 - Segment Data Low Register 5"]
49 pub segd5l: crate::Reg<segd5l::SEGD5L_SPEC>,
50 #[doc = "0x68 - Segment Data Low Register 6"]
51 pub segd6l: crate::Reg<segd6l::SEGD6L_SPEC>,
52 #[doc = "0x6c - Segment Data Low Register 7"]
53 pub segd7l: crate::Reg<segd7l::SEGD7L_SPEC>,
54 #[doc = "0x70 - Segment Data High Register 4"]
55 pub segd4h: crate::Reg<segd4h::SEGD4H_SPEC>,
56 #[doc = "0x74 - Segment Data High Register 5"]
57 pub segd5h: crate::Reg<segd5h::SEGD5H_SPEC>,
58 #[doc = "0x78 - Segment Data High Register 6"]
59 pub segd6h: crate::Reg<segd6h::SEGD6H_SPEC>,
60 #[doc = "0x7c - Segment Data High Register 7"]
61 pub segd7h: crate::Reg<segd7h::SEGD7H_SPEC>,
62 _reserved28: [u8; 0x40],
63 #[doc = "0xc0 - Freeze Register"]
64 pub freeze: crate::Reg<freeze::FREEZE_SPEC>,
65 #[doc = "0xc4 - Synchronization Busy Register"]
66 pub syncbusy: crate::Reg<syncbusy::SYNCBUSY_SPEC>,
67 _reserved30: [u8; 0x28],
68 #[doc = "0xf0 - Frame Rate"]
69 pub framerate: crate::Reg<framerate::FRAMERATE_SPEC>,
70 #[doc = "0xf4 - Segment Enable (32 to 39)"]
71 pub segen2: crate::Reg<segen2::SEGEN2_SPEC>,
72}
73#[doc = "CTRL register accessor: an alias for `Reg<CTRL_SPEC>`"]
74pub type CTRL = crate::Reg<ctrl::CTRL_SPEC>;
75#[doc = "Control Register"]
76pub mod ctrl;
77#[doc = "DISPCTRL register accessor: an alias for `Reg<DISPCTRL_SPEC>`"]
78pub type DISPCTRL = crate::Reg<dispctrl::DISPCTRL_SPEC>;
79#[doc = "Display Control Register"]
80pub mod dispctrl;
81#[doc = "SEGEN register accessor: an alias for `Reg<SEGEN_SPEC>`"]
82pub type SEGEN = crate::Reg<segen::SEGEN_SPEC>;
83#[doc = "Segment Enable Register"]
84pub mod segen;
85#[doc = "BACTRL register accessor: an alias for `Reg<BACTRL_SPEC>`"]
86pub type BACTRL = crate::Reg<bactrl::BACTRL_SPEC>;
87#[doc = "Blink and Animation Control Register"]
88pub mod bactrl;
89#[doc = "STATUS register accessor: an alias for `Reg<STATUS_SPEC>`"]
90pub type STATUS = crate::Reg<status::STATUS_SPEC>;
91#[doc = "Status Register"]
92pub mod status;
93#[doc = "AREGA register accessor: an alias for `Reg<AREGA_SPEC>`"]
94pub type AREGA = crate::Reg<arega::AREGA_SPEC>;
95#[doc = "Animation Register a"]
96pub mod arega;
97#[doc = "AREGB register accessor: an alias for `Reg<AREGB_SPEC>`"]
98pub type AREGB = crate::Reg<aregb::AREGB_SPEC>;
99#[doc = "Animation Register B"]
100pub mod aregb;
101#[doc = "IF register accessor: an alias for `Reg<IF_SPEC>`"]
102pub type IF = crate::Reg<if_::IF_SPEC>;
103#[doc = "Interrupt Flag Register"]
104pub mod if_;
105#[doc = "IFS register accessor: an alias for `Reg<IFS_SPEC>`"]
106pub type IFS = crate::Reg<ifs::IFS_SPEC>;
107#[doc = "Interrupt Flag Set Register"]
108pub mod ifs;
109#[doc = "IFC register accessor: an alias for `Reg<IFC_SPEC>`"]
110pub type IFC = crate::Reg<ifc::IFC_SPEC>;
111#[doc = "Interrupt Flag Clear Register"]
112pub mod ifc;
113#[doc = "IEN register accessor: an alias for `Reg<IEN_SPEC>`"]
114pub type IEN = crate::Reg<ien::IEN_SPEC>;
115#[doc = "Interrupt Enable Register"]
116pub mod ien;
117#[doc = "BIASCTRL register accessor: an alias for `Reg<BIASCTRL_SPEC>`"]
118pub type BIASCTRL = crate::Reg<biasctrl::BIASCTRL_SPEC>;
119#[doc = "Analog BIAS Control"]
120pub mod biasctrl;
121#[doc = "SEGD0L register accessor: an alias for `Reg<SEGD0L_SPEC>`"]
122pub type SEGD0L = crate::Reg<segd0l::SEGD0L_SPEC>;
123#[doc = "Segment Data Low Register 0"]
124pub mod segd0l;
125#[doc = "SEGD1L register accessor: an alias for `Reg<SEGD1L_SPEC>`"]
126pub type SEGD1L = crate::Reg<segd1l::SEGD1L_SPEC>;
127#[doc = "Segment Data Low Register 1"]
128pub mod segd1l;
129#[doc = "SEGD2L register accessor: an alias for `Reg<SEGD2L_SPEC>`"]
130pub type SEGD2L = crate::Reg<segd2l::SEGD2L_SPEC>;
131#[doc = "Segment Data Low Register 2"]
132pub mod segd2l;
133#[doc = "SEGD3L register accessor: an alias for `Reg<SEGD3L_SPEC>`"]
134pub type SEGD3L = crate::Reg<segd3l::SEGD3L_SPEC>;
135#[doc = "Segment Data Low Register 3"]
136pub mod segd3l;
137#[doc = "SEGD0H register accessor: an alias for `Reg<SEGD0H_SPEC>`"]
138pub type SEGD0H = crate::Reg<segd0h::SEGD0H_SPEC>;
139#[doc = "Segment Data High Register 0"]
140pub mod segd0h;
141#[doc = "SEGD1H register accessor: an alias for `Reg<SEGD1H_SPEC>`"]
142pub type SEGD1H = crate::Reg<segd1h::SEGD1H_SPEC>;
143#[doc = "Segment Data High Register 1"]
144pub mod segd1h;
145#[doc = "SEGD2H register accessor: an alias for `Reg<SEGD2H_SPEC>`"]
146pub type SEGD2H = crate::Reg<segd2h::SEGD2H_SPEC>;
147#[doc = "Segment Data High Register 2"]
148pub mod segd2h;
149#[doc = "SEGD3H register accessor: an alias for `Reg<SEGD3H_SPEC>`"]
150pub type SEGD3H = crate::Reg<segd3h::SEGD3H_SPEC>;
151#[doc = "Segment Data High Register 3"]
152pub mod segd3h;
153#[doc = "SEGD4L register accessor: an alias for `Reg<SEGD4L_SPEC>`"]
154pub type SEGD4L = crate::Reg<segd4l::SEGD4L_SPEC>;
155#[doc = "Segment Data Low Register 4"]
156pub mod segd4l;
157#[doc = "SEGD5L register accessor: an alias for `Reg<SEGD5L_SPEC>`"]
158pub type SEGD5L = crate::Reg<segd5l::SEGD5L_SPEC>;
159#[doc = "Segment Data Low Register 5"]
160pub mod segd5l;
161#[doc = "SEGD6L register accessor: an alias for `Reg<SEGD6L_SPEC>`"]
162pub type SEGD6L = crate::Reg<segd6l::SEGD6L_SPEC>;
163#[doc = "Segment Data Low Register 6"]
164pub mod segd6l;
165#[doc = "SEGD7L register accessor: an alias for `Reg<SEGD7L_SPEC>`"]
166pub type SEGD7L = crate::Reg<segd7l::SEGD7L_SPEC>;
167#[doc = "Segment Data Low Register 7"]
168pub mod segd7l;
169#[doc = "SEGD4H register accessor: an alias for `Reg<SEGD4H_SPEC>`"]
170pub type SEGD4H = crate::Reg<segd4h::SEGD4H_SPEC>;
171#[doc = "Segment Data High Register 4"]
172pub mod segd4h;
173#[doc = "SEGD5H register accessor: an alias for `Reg<SEGD5H_SPEC>`"]
174pub type SEGD5H = crate::Reg<segd5h::SEGD5H_SPEC>;
175#[doc = "Segment Data High Register 5"]
176pub mod segd5h;
177#[doc = "SEGD6H register accessor: an alias for `Reg<SEGD6H_SPEC>`"]
178pub type SEGD6H = crate::Reg<segd6h::SEGD6H_SPEC>;
179#[doc = "Segment Data High Register 6"]
180pub mod segd6h;
181#[doc = "SEGD7H register accessor: an alias for `Reg<SEGD7H_SPEC>`"]
182pub type SEGD7H = crate::Reg<segd7h::SEGD7H_SPEC>;
183#[doc = "Segment Data High Register 7"]
184pub mod segd7h;
185#[doc = "FREEZE register accessor: an alias for `Reg<FREEZE_SPEC>`"]
186pub type FREEZE = crate::Reg<freeze::FREEZE_SPEC>;
187#[doc = "Freeze Register"]
188pub mod freeze;
189#[doc = "SYNCBUSY register accessor: an alias for `Reg<SYNCBUSY_SPEC>`"]
190pub type SYNCBUSY = crate::Reg<syncbusy::SYNCBUSY_SPEC>;
191#[doc = "Synchronization Busy Register"]
192pub mod syncbusy;
193#[doc = "FRAMERATE register accessor: an alias for `Reg<FRAMERATE_SPEC>`"]
194pub type FRAMERATE = crate::Reg<framerate::FRAMERATE_SPEC>;
195#[doc = "Frame Rate"]
196pub mod framerate;
197#[doc = "SEGEN2 register accessor: an alias for `Reg<SEGEN2_SPEC>`"]
198pub type SEGEN2 = crate::Reg<segen2::SEGEN2_SPEC>;
199#[doc = "Segment Enable (32 to 39)"]
200pub mod segen2;