stm32f429/
ltdc.rs

1#[doc = r" Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    _reserved0: [u8; 8usize],
5    #[doc = "0x08 - Synchronization Size Configuration Register"]
6    pub sscr: SSCR,
7    #[doc = "0x0c - Back Porch Configuration Register"]
8    pub bpcr: BPCR,
9    #[doc = "0x10 - Active Width Configuration Register"]
10    pub awcr: AWCR,
11    #[doc = "0x14 - Total Width Configuration Register"]
12    pub twcr: TWCR,
13    #[doc = "0x18 - Global Control Register"]
14    pub gcr: GCR,
15    _reserved1: [u8; 8usize],
16    #[doc = "0x24 - Shadow Reload Configuration Register"]
17    pub srcr: SRCR,
18    _reserved2: [u8; 4usize],
19    #[doc = "0x2c - Background Color Configuration Register"]
20    pub bccr: BCCR,
21    _reserved3: [u8; 4usize],
22    #[doc = "0x34 - Interrupt Enable Register"]
23    pub ier: IER,
24    #[doc = "0x38 - Interrupt Status Register"]
25    pub isr: ISR,
26    #[doc = "0x3c - Interrupt Clear Register"]
27    pub icr: ICR,
28    #[doc = "0x40 - Line Interrupt Position Configuration Register"]
29    pub lipcr: LIPCR,
30    #[doc = "0x44 - Current Position Status Register"]
31    pub cpsr: CPSR,
32    #[doc = "0x48 - Current Display Status Register"]
33    pub cdsr: CDSR,
34    _reserved4: [u8; 56usize],
35    #[doc = "0x84 - Layerx Control Register"]
36    pub l1cr: L1CR,
37    #[doc = "0x88 - Layerx Window Horizontal Position Configuration Register"]
38    pub l1whpcr: L1WHPCR,
39    #[doc = "0x8c - Layerx Window Vertical Position Configuration Register"]
40    pub l1wvpcr: L1WVPCR,
41    #[doc = "0x90 - Layerx Color Keying Configuration Register"]
42    pub l1ckcr: L1CKCR,
43    #[doc = "0x94 - Layerx Pixel Format Configuration Register"]
44    pub l1pfcr: L1PFCR,
45    #[doc = "0x98 - Layerx Constant Alpha Configuration Register"]
46    pub l1cacr: L1CACR,
47    #[doc = "0x9c - Layerx Default Color Configuration Register"]
48    pub l1dccr: L1DCCR,
49    #[doc = "0xa0 - Layerx Blending Factors Configuration Register"]
50    pub l1bfcr: L1BFCR,
51    _reserved5: [u8; 8usize],
52    #[doc = "0xac - Layerx Color Frame Buffer Address Register"]
53    pub l1cfbar: L1CFBAR,
54    #[doc = "0xb0 - Layerx Color Frame Buffer Length Register"]
55    pub l1cfblr: L1CFBLR,
56    #[doc = "0xb4 - Layerx ColorFrame Buffer Line Number Register"]
57    pub l1cfblnr: L1CFBLNR,
58    _reserved6: [u8; 12usize],
59    #[doc = "0xc4 - Layerx CLUT Write Register"]
60    pub l1clutwr: L1CLUTWR,
61    _reserved7: [u8; 60usize],
62    #[doc = "0x104 - Layerx Control Register"]
63    pub l2cr: L2CR,
64    #[doc = "0x108 - Layerx Window Horizontal Position Configuration Register"]
65    pub l2whpcr: L2WHPCR,
66    #[doc = "0x10c - Layerx Window Vertical Position Configuration Register"]
67    pub l2wvpcr: L2WVPCR,
68    #[doc = "0x110 - Layerx Color Keying Configuration Register"]
69    pub l2ckcr: L2CKCR,
70    #[doc = "0x114 - Layerx Pixel Format Configuration Register"]
71    pub l2pfcr: L2PFCR,
72    #[doc = "0x118 - Layerx Constant Alpha Configuration Register"]
73    pub l2cacr: L2CACR,
74    #[doc = "0x11c - Layerx Default Color Configuration Register"]
75    pub l2dccr: L2DCCR,
76    #[doc = "0x120 - Layerx Blending Factors Configuration Register"]
77    pub l2bfcr: L2BFCR,
78    _reserved8: [u8; 8usize],
79    #[doc = "0x12c - Layerx Color Frame Buffer Address Register"]
80    pub l2cfbar: L2CFBAR,
81    #[doc = "0x130 - Layerx Color Frame Buffer Length Register"]
82    pub l2cfblr: L2CFBLR,
83    #[doc = "0x134 - Layerx ColorFrame Buffer Line Number Register"]
84    pub l2cfblnr: L2CFBLNR,
85    _reserved9: [u8; 12usize],
86    #[doc = "0x144 - Layerx CLUT Write Register"]
87    pub l2clutwr: L2CLUTWR,
88}
89#[doc = "Synchronization Size Configuration Register"]
90pub struct SSCR {
91    register: ::vcell::VolatileCell<u32>,
92}
93#[doc = "Synchronization Size Configuration Register"]
94pub mod sscr;
95#[doc = "Back Porch Configuration Register"]
96pub struct BPCR {
97    register: ::vcell::VolatileCell<u32>,
98}
99#[doc = "Back Porch Configuration Register"]
100pub mod bpcr;
101#[doc = "Active Width Configuration Register"]
102pub struct AWCR {
103    register: ::vcell::VolatileCell<u32>,
104}
105#[doc = "Active Width Configuration Register"]
106pub mod awcr;
107#[doc = "Total Width Configuration Register"]
108pub struct TWCR {
109    register: ::vcell::VolatileCell<u32>,
110}
111#[doc = "Total Width Configuration Register"]
112pub mod twcr;
113#[doc = "Global Control Register"]
114pub struct GCR {
115    register: ::vcell::VolatileCell<u32>,
116}
117#[doc = "Global Control Register"]
118pub mod gcr;
119#[doc = "Shadow Reload Configuration Register"]
120pub struct SRCR {
121    register: ::vcell::VolatileCell<u32>,
122}
123#[doc = "Shadow Reload Configuration Register"]
124pub mod srcr;
125#[doc = "Background Color Configuration Register"]
126pub struct BCCR {
127    register: ::vcell::VolatileCell<u32>,
128}
129#[doc = "Background Color Configuration Register"]
130pub mod bccr;
131#[doc = "Interrupt Enable Register"]
132pub struct IER {
133    register: ::vcell::VolatileCell<u32>,
134}
135#[doc = "Interrupt Enable Register"]
136pub mod ier;
137#[doc = "Interrupt Status Register"]
138pub struct ISR {
139    register: ::vcell::VolatileCell<u32>,
140}
141#[doc = "Interrupt Status Register"]
142pub mod isr;
143#[doc = "Interrupt Clear Register"]
144pub struct ICR {
145    register: ::vcell::VolatileCell<u32>,
146}
147#[doc = "Interrupt Clear Register"]
148pub mod icr;
149#[doc = "Line Interrupt Position Configuration Register"]
150pub struct LIPCR {
151    register: ::vcell::VolatileCell<u32>,
152}
153#[doc = "Line Interrupt Position Configuration Register"]
154pub mod lipcr;
155#[doc = "Current Position Status Register"]
156pub struct CPSR {
157    register: ::vcell::VolatileCell<u32>,
158}
159#[doc = "Current Position Status Register"]
160pub mod cpsr;
161#[doc = "Current Display Status Register"]
162pub struct CDSR {
163    register: ::vcell::VolatileCell<u32>,
164}
165#[doc = "Current Display Status Register"]
166pub mod cdsr;
167#[doc = "Layerx Control Register"]
168pub struct L1CR {
169    register: ::vcell::VolatileCell<u32>,
170}
171#[doc = "Layerx Control Register"]
172pub mod l1cr;
173#[doc = "Layerx Window Horizontal Position Configuration Register"]
174pub struct L1WHPCR {
175    register: ::vcell::VolatileCell<u32>,
176}
177#[doc = "Layerx Window Horizontal Position Configuration Register"]
178pub mod l1whpcr;
179#[doc = "Layerx Window Vertical Position Configuration Register"]
180pub struct L1WVPCR {
181    register: ::vcell::VolatileCell<u32>,
182}
183#[doc = "Layerx Window Vertical Position Configuration Register"]
184pub mod l1wvpcr;
185#[doc = "Layerx Color Keying Configuration Register"]
186pub struct L1CKCR {
187    register: ::vcell::VolatileCell<u32>,
188}
189#[doc = "Layerx Color Keying Configuration Register"]
190pub mod l1ckcr;
191#[doc = "Layerx Pixel Format Configuration Register"]
192pub struct L1PFCR {
193    register: ::vcell::VolatileCell<u32>,
194}
195#[doc = "Layerx Pixel Format Configuration Register"]
196pub mod l1pfcr;
197#[doc = "Layerx Constant Alpha Configuration Register"]
198pub struct L1CACR {
199    register: ::vcell::VolatileCell<u32>,
200}
201#[doc = "Layerx Constant Alpha Configuration Register"]
202pub mod l1cacr;
203#[doc = "Layerx Default Color Configuration Register"]
204pub struct L1DCCR {
205    register: ::vcell::VolatileCell<u32>,
206}
207#[doc = "Layerx Default Color Configuration Register"]
208pub mod l1dccr;
209#[doc = "Layerx Blending Factors Configuration Register"]
210pub struct L1BFCR {
211    register: ::vcell::VolatileCell<u32>,
212}
213#[doc = "Layerx Blending Factors Configuration Register"]
214pub mod l1bfcr;
215#[doc = "Layerx Color Frame Buffer Address Register"]
216pub struct L1CFBAR {
217    register: ::vcell::VolatileCell<u32>,
218}
219#[doc = "Layerx Color Frame Buffer Address Register"]
220pub mod l1cfbar;
221#[doc = "Layerx Color Frame Buffer Length Register"]
222pub struct L1CFBLR {
223    register: ::vcell::VolatileCell<u32>,
224}
225#[doc = "Layerx Color Frame Buffer Length Register"]
226pub mod l1cfblr;
227#[doc = "Layerx ColorFrame Buffer Line Number Register"]
228pub struct L1CFBLNR {
229    register: ::vcell::VolatileCell<u32>,
230}
231#[doc = "Layerx ColorFrame Buffer Line Number Register"]
232pub mod l1cfblnr;
233#[doc = "Layerx CLUT Write Register"]
234pub struct L1CLUTWR {
235    register: ::vcell::VolatileCell<u32>,
236}
237#[doc = "Layerx CLUT Write Register"]
238pub mod l1clutwr;
239#[doc = "Layerx Control Register"]
240pub struct L2CR {
241    register: ::vcell::VolatileCell<u32>,
242}
243#[doc = "Layerx Control Register"]
244pub mod l2cr;
245#[doc = "Layerx Window Horizontal Position Configuration Register"]
246pub struct L2WHPCR {
247    register: ::vcell::VolatileCell<u32>,
248}
249#[doc = "Layerx Window Horizontal Position Configuration Register"]
250pub mod l2whpcr;
251#[doc = "Layerx Window Vertical Position Configuration Register"]
252pub struct L2WVPCR {
253    register: ::vcell::VolatileCell<u32>,
254}
255#[doc = "Layerx Window Vertical Position Configuration Register"]
256pub mod l2wvpcr;
257#[doc = "Layerx Color Keying Configuration Register"]
258pub struct L2CKCR {
259    register: ::vcell::VolatileCell<u32>,
260}
261#[doc = "Layerx Color Keying Configuration Register"]
262pub mod l2ckcr;
263#[doc = "Layerx Pixel Format Configuration Register"]
264pub struct L2PFCR {
265    register: ::vcell::VolatileCell<u32>,
266}
267#[doc = "Layerx Pixel Format Configuration Register"]
268pub mod l2pfcr;
269#[doc = "Layerx Constant Alpha Configuration Register"]
270pub struct L2CACR {
271    register: ::vcell::VolatileCell<u32>,
272}
273#[doc = "Layerx Constant Alpha Configuration Register"]
274pub mod l2cacr;
275#[doc = "Layerx Default Color Configuration Register"]
276pub struct L2DCCR {
277    register: ::vcell::VolatileCell<u32>,
278}
279#[doc = "Layerx Default Color Configuration Register"]
280pub mod l2dccr;
281#[doc = "Layerx Blending Factors Configuration Register"]
282pub struct L2BFCR {
283    register: ::vcell::VolatileCell<u32>,
284}
285#[doc = "Layerx Blending Factors Configuration Register"]
286pub mod l2bfcr;
287#[doc = "Layerx Color Frame Buffer Address Register"]
288pub struct L2CFBAR {
289    register: ::vcell::VolatileCell<u32>,
290}
291#[doc = "Layerx Color Frame Buffer Address Register"]
292pub mod l2cfbar;
293#[doc = "Layerx Color Frame Buffer Length Register"]
294pub struct L2CFBLR {
295    register: ::vcell::VolatileCell<u32>,
296}
297#[doc = "Layerx Color Frame Buffer Length Register"]
298pub mod l2cfblr;
299#[doc = "Layerx ColorFrame Buffer Line Number Register"]
300pub struct L2CFBLNR {
301    register: ::vcell::VolatileCell<u32>,
302}
303#[doc = "Layerx ColorFrame Buffer Line Number Register"]
304pub mod l2cfblnr;
305#[doc = "Layerx CLUT Write Register"]
306pub struct L2CLUTWR {
307    register: ::vcell::VolatileCell<u32>,
308}
309#[doc = "Layerx CLUT Write Register"]
310pub mod l2clutwr;