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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
    _reserved0: [u8; 8usize],
    #[doc = "0x08 - Synchronization Size Configuration Register"]
    pub sscr: SSCR,
    #[doc = "0x0c - Back Porch Configuration Register"]
    pub bpcr: BPCR,
    #[doc = "0x10 - Active Width Configuration Register"]
    pub awcr: AWCR,
    #[doc = "0x14 - Total Width Configuration Register"]
    pub twcr: TWCR,
    #[doc = "0x18 - Global Control Register"]
    pub gcr: GCR,
    _reserved5: [u8; 8usize],
    #[doc = "0x24 - Shadow Reload Configuration Register"]
    pub srcr: SRCR,
    _reserved6: [u8; 4usize],
    #[doc = "0x2c - Background Color Configuration Register"]
    pub bccr: BCCR,
    _reserved7: [u8; 4usize],
    #[doc = "0x34 - Interrupt Enable Register"]
    pub ier: IER,
    #[doc = "0x38 - Interrupt Status Register"]
    pub isr: ISR,
    #[doc = "0x3c - Interrupt Clear Register"]
    pub icr: ICR,
    #[doc = "0x40 - Line Interrupt Position Configuration Register"]
    pub lipcr: LIPCR,
    #[doc = "0x44 - Current Position Status Register"]
    pub cpsr: CPSR,
    #[doc = "0x48 - Current Display Status Register"]
    pub cdsr: CDSR,
    _reserved13: [u8; 56usize],
    #[doc = "0x84 - Layerx Control Register"]
    pub l1cr: L1CR,
    #[doc = "0x88 - Layerx Window Horizontal Position Configuration Register"]
    pub l1whpcr: L1WHPCR,
    #[doc = "0x8c - Layerx Window Vertical Position Configuration Register"]
    pub l1wvpcr: L1WVPCR,
    #[doc = "0x90 - Layerx Color Keying Configuration Register"]
    pub l1ckcr: L1CKCR,
    #[doc = "0x94 - Layerx Pixel Format Configuration Register"]
    pub l1pfcr: L1PFCR,
    #[doc = "0x98 - Layerx Constant Alpha Configuration Register"]
    pub l1cacr: L1CACR,
    #[doc = "0x9c - Layerx Default Color Configuration Register"]
    pub l1dccr: L1DCCR,
    #[doc = "0xa0 - Layerx Blending Factors Configuration Register"]
    pub l1bfcr: L1BFCR,
    _reserved21: [u8; 8usize],
    #[doc = "0xac - Layerx Color Frame Buffer Address Register"]
    pub l1cfbar: L1CFBAR,
    #[doc = "0xb0 - Layerx Color Frame Buffer Length Register"]
    pub l1cfblr: L1CFBLR,
    #[doc = "0xb4 - Layerx ColorFrame Buffer Line Number Register"]
    pub l1cfblnr: L1CFBLNR,
    _reserved24: [u8; 12usize],
    #[doc = "0xc4 - Layerx CLUT Write Register"]
    pub l1clutwr: L1CLUTWR,
    _reserved25: [u8; 60usize],
    #[doc = "0x104 - Layerx Control Register"]
    pub l2cr: L2CR,
    #[doc = "0x108 - Layerx Window Horizontal Position Configuration Register"]
    pub l2whpcr: L2WHPCR,
    #[doc = "0x10c - Layerx Window Vertical Position Configuration Register"]
    pub l2wvpcr: L2WVPCR,
    #[doc = "0x110 - Layerx Color Keying Configuration Register"]
    pub l2ckcr: L2CKCR,
    #[doc = "0x114 - Layerx Pixel Format Configuration Register"]
    pub l2pfcr: L2PFCR,
    #[doc = "0x118 - Layerx Constant Alpha Configuration Register"]
    pub l2cacr: L2CACR,
    #[doc = "0x11c - Layerx Default Color Configuration Register"]
    pub l2dccr: L2DCCR,
    #[doc = "0x120 - Layerx Blending Factors Configuration Register"]
    pub l2bfcr: L2BFCR,
    _reserved33: [u8; 8usize],
    #[doc = "0x12c - Layerx Color Frame Buffer Address Register"]
    pub l2cfbar: L2CFBAR,
    #[doc = "0x130 - Layerx Color Frame Buffer Length Register"]
    pub l2cfblr: L2CFBLR,
    #[doc = "0x134 - Layerx ColorFrame Buffer Line Number Register"]
    pub l2cfblnr: L2CFBLNR,
    _reserved36: [u8; 12usize],
    #[doc = "0x144 - Layerx CLUT Write Register"]
    pub l2clutwr: L2CLUTWR,
}
#[doc = "Synchronization Size Configuration Register"]
pub struct SSCR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Synchronization Size Configuration Register"]
pub mod sscr;
#[doc = "Back Porch Configuration Register"]
pub struct BPCR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Back Porch Configuration Register"]
pub mod bpcr;
#[doc = "Active Width Configuration Register"]
pub struct AWCR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Active Width Configuration Register"]
pub mod awcr;
#[doc = "Total Width Configuration Register"]
pub struct TWCR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Total Width Configuration Register"]
pub mod twcr;
#[doc = "Global Control Register"]
pub struct GCR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Global Control Register"]
pub mod gcr;
#[doc = "Shadow Reload Configuration Register"]
pub struct SRCR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Shadow Reload Configuration Register"]
pub mod srcr;
#[doc = "Background Color Configuration Register"]
pub struct BCCR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Background Color Configuration Register"]
pub mod bccr;
#[doc = "Interrupt Enable Register"]
pub struct IER {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Interrupt Enable Register"]
pub mod ier;
#[doc = "Interrupt Status Register"]
pub struct ISR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Interrupt Status Register"]
pub mod isr;
#[doc = "Interrupt Clear Register"]
pub struct ICR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Interrupt Clear Register"]
pub mod icr;
#[doc = "Line Interrupt Position Configuration Register"]
pub struct LIPCR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Line Interrupt Position Configuration Register"]
pub mod lipcr;
#[doc = "Current Position Status Register"]
pub struct CPSR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Current Position Status Register"]
pub mod cpsr;
#[doc = "Current Display Status Register"]
pub struct CDSR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Current Display Status Register"]
pub mod cdsr;
#[doc = "Layerx Control Register"]
pub struct L1CR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx Control Register"]
pub mod l1cr;
#[doc = "Layerx Window Horizontal Position Configuration Register"]
pub struct L1WHPCR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx Window Horizontal Position Configuration Register"]
pub mod l1whpcr;
#[doc = "Layerx Window Vertical Position Configuration Register"]
pub struct L1WVPCR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx Window Vertical Position Configuration Register"]
pub mod l1wvpcr;
#[doc = "Layerx Color Keying Configuration Register"]
pub struct L1CKCR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx Color Keying Configuration Register"]
pub mod l1ckcr;
#[doc = "Layerx Pixel Format Configuration Register"]
pub struct L1PFCR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx Pixel Format Configuration Register"]
pub mod l1pfcr;
#[doc = "Layerx Constant Alpha Configuration Register"]
pub struct L1CACR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx Constant Alpha Configuration Register"]
pub mod l1cacr;
#[doc = "Layerx Default Color Configuration Register"]
pub struct L1DCCR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx Default Color Configuration Register"]
pub mod l1dccr;
#[doc = "Layerx Blending Factors Configuration Register"]
pub struct L1BFCR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx Blending Factors Configuration Register"]
pub mod l1bfcr;
#[doc = "Layerx Color Frame Buffer Address Register"]
pub struct L1CFBAR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx Color Frame Buffer Address Register"]
pub mod l1cfbar;
#[doc = "Layerx Color Frame Buffer Length Register"]
pub struct L1CFBLR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx Color Frame Buffer Length Register"]
pub mod l1cfblr;
#[doc = "Layerx ColorFrame Buffer Line Number Register"]
pub struct L1CFBLNR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx ColorFrame Buffer Line Number Register"]
pub mod l1cfblnr;
#[doc = "Layerx CLUT Write Register"]
pub struct L1CLUTWR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx CLUT Write Register"]
pub mod l1clutwr;
#[doc = "Layerx Control Register"]
pub struct L2CR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx Control Register"]
pub mod l2cr;
#[doc = "Layerx Window Horizontal Position Configuration Register"]
pub struct L2WHPCR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx Window Horizontal Position Configuration Register"]
pub mod l2whpcr;
#[doc = "Layerx Window Vertical Position Configuration Register"]
pub struct L2WVPCR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx Window Vertical Position Configuration Register"]
pub mod l2wvpcr;
#[doc = "Layerx Color Keying Configuration Register"]
pub struct L2CKCR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx Color Keying Configuration Register"]
pub mod l2ckcr;
#[doc = "Layerx Pixel Format Configuration Register"]
pub struct L2PFCR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx Pixel Format Configuration Register"]
pub mod l2pfcr;
#[doc = "Layerx Constant Alpha Configuration Register"]
pub struct L2CACR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx Constant Alpha Configuration Register"]
pub mod l2cacr;
#[doc = "Layerx Default Color Configuration Register"]
pub struct L2DCCR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx Default Color Configuration Register"]
pub mod l2dccr;
#[doc = "Layerx Blending Factors Configuration Register"]
pub struct L2BFCR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx Blending Factors Configuration Register"]
pub mod l2bfcr;
#[doc = "Layerx Color Frame Buffer Address Register"]
pub struct L2CFBAR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx Color Frame Buffer Address Register"]
pub mod l2cfbar;
#[doc = "Layerx Color Frame Buffer Length Register"]
pub struct L2CFBLR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx Color Frame Buffer Length Register"]
pub mod l2cfblr;
#[doc = "Layerx ColorFrame Buffer Line Number Register"]
pub struct L2CFBLNR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx ColorFrame Buffer Line Number Register"]
pub mod l2cfblnr;
#[doc = "Layerx CLUT Write Register"]
pub struct L2CLUTWR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "Layerx CLUT Write Register"]
pub mod l2clutwr;