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; 0x14],
27 #[doc = "0x40 - Segment Data Low Register 0"]
28 pub segd0l: crate::Reg<segd0l::SEGD0L_SPEC>,
29 #[doc = "0x44 - Segment Data Low Register 1"]
30 pub segd1l: crate::Reg<segd1l::SEGD1L_SPEC>,
31 #[doc = "0x48 - Segment Data Low Register 2"]
32 pub segd2l: crate::Reg<segd2l::SEGD2L_SPEC>,
33 #[doc = "0x4c - Segment Data Low Register 3"]
34 pub segd3l: crate::Reg<segd3l::SEGD3L_SPEC>,
35 #[doc = "0x50 - Segment Data High Register 0"]
36 pub segd0h: crate::Reg<segd0h::SEGD0H_SPEC>,
37 #[doc = "0x54 - Segment Data High Register 1"]
38 pub segd1h: crate::Reg<segd1h::SEGD1H_SPEC>,
39 #[doc = "0x58 - Segment Data High Register 2"]
40 pub segd2h: crate::Reg<segd2h::SEGD2H_SPEC>,
41 #[doc = "0x5c - Segment Data High Register 3"]
42 pub segd3h: crate::Reg<segd3h::SEGD3H_SPEC>,
43 #[doc = "0x60 - Freeze Register"]
44 pub freeze: crate::Reg<freeze::FREEZE_SPEC>,
45 #[doc = "0x64 - Synchronization Busy Register"]
46 pub syncbusy: crate::Reg<syncbusy::SYNCBUSY_SPEC>,
47 _reserved21: [u8; 0x4c],
48 #[doc = "0xb4 - Segment Data High Register 4"]
49 pub segd4h: crate::Reg<segd4h::SEGD4H_SPEC>,
50 #[doc = "0xb8 - Segment Data High Register 5"]
51 pub segd5h: crate::Reg<segd5h::SEGD5H_SPEC>,
52 #[doc = "0xbc - Segment Data High Register 6"]
53 pub segd6h: crate::Reg<segd6h::SEGD6H_SPEC>,
54 #[doc = "0xc0 - Segment Data High Register 7"]
55 pub segd7h: crate::Reg<segd7h::SEGD7H_SPEC>,
56 _reserved25: [u8; 0x08],
57 #[doc = "0xcc - Segment Data Low Register 4"]
58 pub segd4l: crate::Reg<segd4l::SEGD4L_SPEC>,
59 #[doc = "0xd0 - Segment Data Low Register 5"]
60 pub segd5l: crate::Reg<segd5l::SEGD5L_SPEC>,
61 #[doc = "0xd4 - Segment Data Low Register 6"]
62 pub segd6l: crate::Reg<segd6l::SEGD6L_SPEC>,
63 #[doc = "0xd8 - Segment Data Low Register 7"]
64 pub segd7l: crate::Reg<segd7l::SEGD7L_SPEC>,
65}
66#[doc = "CTRL register accessor: an alias for `Reg<CTRL_SPEC>`"]
67pub type CTRL = crate::Reg<ctrl::CTRL_SPEC>;
68#[doc = "Control Register"]
69pub mod ctrl;
70#[doc = "DISPCTRL register accessor: an alias for `Reg<DISPCTRL_SPEC>`"]
71pub type DISPCTRL = crate::Reg<dispctrl::DISPCTRL_SPEC>;
72#[doc = "Display Control Register"]
73pub mod dispctrl;
74#[doc = "SEGEN register accessor: an alias for `Reg<SEGEN_SPEC>`"]
75pub type SEGEN = crate::Reg<segen::SEGEN_SPEC>;
76#[doc = "Segment Enable Register"]
77pub mod segen;
78#[doc = "BACTRL register accessor: an alias for `Reg<BACTRL_SPEC>`"]
79pub type BACTRL = crate::Reg<bactrl::BACTRL_SPEC>;
80#[doc = "Blink and Animation Control Register"]
81pub mod bactrl;
82#[doc = "STATUS register accessor: an alias for `Reg<STATUS_SPEC>`"]
83pub type STATUS = crate::Reg<status::STATUS_SPEC>;
84#[doc = "Status Register"]
85pub mod status;
86#[doc = "AREGA register accessor: an alias for `Reg<AREGA_SPEC>`"]
87pub type AREGA = crate::Reg<arega::AREGA_SPEC>;
88#[doc = "Animation Register A"]
89pub mod arega;
90#[doc = "AREGB register accessor: an alias for `Reg<AREGB_SPEC>`"]
91pub type AREGB = crate::Reg<aregb::AREGB_SPEC>;
92#[doc = "Animation Register B"]
93pub mod aregb;
94#[doc = "IF register accessor: an alias for `Reg<IF_SPEC>`"]
95pub type IF = crate::Reg<if_::IF_SPEC>;
96#[doc = "Interrupt Flag Register"]
97pub mod if_;
98#[doc = "IFS register accessor: an alias for `Reg<IFS_SPEC>`"]
99pub type IFS = crate::Reg<ifs::IFS_SPEC>;
100#[doc = "Interrupt Flag Set Register"]
101pub mod ifs;
102#[doc = "IFC register accessor: an alias for `Reg<IFC_SPEC>`"]
103pub type IFC = crate::Reg<ifc::IFC_SPEC>;
104#[doc = "Interrupt Flag Clear Register"]
105pub mod ifc;
106#[doc = "IEN register accessor: an alias for `Reg<IEN_SPEC>`"]
107pub type IEN = crate::Reg<ien::IEN_SPEC>;
108#[doc = "Interrupt Enable Register"]
109pub mod ien;
110#[doc = "SEGD0L register accessor: an alias for `Reg<SEGD0L_SPEC>`"]
111pub type SEGD0L = crate::Reg<segd0l::SEGD0L_SPEC>;
112#[doc = "Segment Data Low Register 0"]
113pub mod segd0l;
114#[doc = "SEGD1L register accessor: an alias for `Reg<SEGD1L_SPEC>`"]
115pub type SEGD1L = crate::Reg<segd1l::SEGD1L_SPEC>;
116#[doc = "Segment Data Low Register 1"]
117pub mod segd1l;
118#[doc = "SEGD2L register accessor: an alias for `Reg<SEGD2L_SPEC>`"]
119pub type SEGD2L = crate::Reg<segd2l::SEGD2L_SPEC>;
120#[doc = "Segment Data Low Register 2"]
121pub mod segd2l;
122#[doc = "SEGD3L register accessor: an alias for `Reg<SEGD3L_SPEC>`"]
123pub type SEGD3L = crate::Reg<segd3l::SEGD3L_SPEC>;
124#[doc = "Segment Data Low Register 3"]
125pub mod segd3l;
126#[doc = "SEGD0H register accessor: an alias for `Reg<SEGD0H_SPEC>`"]
127pub type SEGD0H = crate::Reg<segd0h::SEGD0H_SPEC>;
128#[doc = "Segment Data High Register 0"]
129pub mod segd0h;
130#[doc = "SEGD1H register accessor: an alias for `Reg<SEGD1H_SPEC>`"]
131pub type SEGD1H = crate::Reg<segd1h::SEGD1H_SPEC>;
132#[doc = "Segment Data High Register 1"]
133pub mod segd1h;
134#[doc = "SEGD2H register accessor: an alias for `Reg<SEGD2H_SPEC>`"]
135pub type SEGD2H = crate::Reg<segd2h::SEGD2H_SPEC>;
136#[doc = "Segment Data High Register 2"]
137pub mod segd2h;
138#[doc = "SEGD3H register accessor: an alias for `Reg<SEGD3H_SPEC>`"]
139pub type SEGD3H = crate::Reg<segd3h::SEGD3H_SPEC>;
140#[doc = "Segment Data High Register 3"]
141pub mod segd3h;
142#[doc = "FREEZE register accessor: an alias for `Reg<FREEZE_SPEC>`"]
143pub type FREEZE = crate::Reg<freeze::FREEZE_SPEC>;
144#[doc = "Freeze Register"]
145pub mod freeze;
146#[doc = "SYNCBUSY register accessor: an alias for `Reg<SYNCBUSY_SPEC>`"]
147pub type SYNCBUSY = crate::Reg<syncbusy::SYNCBUSY_SPEC>;
148#[doc = "Synchronization Busy Register"]
149pub mod syncbusy;
150#[doc = "SEGD4H register accessor: an alias for `Reg<SEGD4H_SPEC>`"]
151pub type SEGD4H = crate::Reg<segd4h::SEGD4H_SPEC>;
152#[doc = "Segment Data High Register 4"]
153pub mod segd4h;
154#[doc = "SEGD5H register accessor: an alias for `Reg<SEGD5H_SPEC>`"]
155pub type SEGD5H = crate::Reg<segd5h::SEGD5H_SPEC>;
156#[doc = "Segment Data High Register 5"]
157pub mod segd5h;
158#[doc = "SEGD6H register accessor: an alias for `Reg<SEGD6H_SPEC>`"]
159pub type SEGD6H = crate::Reg<segd6h::SEGD6H_SPEC>;
160#[doc = "Segment Data High Register 6"]
161pub mod segd6h;
162#[doc = "SEGD7H register accessor: an alias for `Reg<SEGD7H_SPEC>`"]
163pub type SEGD7H = crate::Reg<segd7h::SEGD7H_SPEC>;
164#[doc = "Segment Data High Register 7"]
165pub mod segd7h;
166#[doc = "SEGD4L register accessor: an alias for `Reg<SEGD4L_SPEC>`"]
167pub type SEGD4L = crate::Reg<segd4l::SEGD4L_SPEC>;
168#[doc = "Segment Data Low Register 4"]
169pub mod segd4l;
170#[doc = "SEGD5L register accessor: an alias for `Reg<SEGD5L_SPEC>`"]
171pub type SEGD5L = crate::Reg<segd5l::SEGD5L_SPEC>;
172#[doc = "Segment Data Low Register 5"]
173pub mod segd5l;
174#[doc = "SEGD6L register accessor: an alias for `Reg<SEGD6L_SPEC>`"]
175pub type SEGD6L = crate::Reg<segd6l::SEGD6L_SPEC>;
176#[doc = "Segment Data Low Register 6"]
177pub mod segd6l;
178#[doc = "SEGD7L register accessor: an alias for `Reg<SEGD7L_SPEC>`"]
179pub type SEGD7L = crate::Reg<segd7l::SEGD7L_SPEC>;
180#[doc = "Segment Data Low Register 7"]
181pub mod segd7l;