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
#[doc = r" Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - control register"]
    pub cr: CR,
    #[doc = "0x04 - Interrupt Status Register"]
    pub isr: ISR,
    #[doc = "0x08 - interrupt flag clear register"]
    pub ifcr: IFCR,
    #[doc = "0x0c - foreground memory address register"]
    pub fgmar: FGMAR,
    #[doc = "0x10 - foreground offset register"]
    pub fgor: FGOR,
    #[doc = "0x14 - background memory address register"]
    pub bgmar: BGMAR,
    #[doc = "0x18 - background offset register"]
    pub bgor: BGOR,
    #[doc = "0x1c - foreground PFC control register"]
    pub fgpfccr: FGPFCCR,
    #[doc = "0x20 - foreground color register"]
    pub fgcolr: FGCOLR,
    #[doc = "0x24 - background PFC control register"]
    pub bgpfccr: BGPFCCR,
    #[doc = "0x28 - background color register"]
    pub bgcolr: BGCOLR,
    #[doc = "0x2c - foreground CLUT memory address register"]
    pub fgcmar: FGCMAR,
    #[doc = "0x30 - background CLUT memory address register"]
    pub bgcmar: BGCMAR,
    #[doc = "0x34 - output PFC control register"]
    pub opfccr: OPFCCR,
    #[doc = "0x38 - output color register"]
    pub ocolr: OCOLR,
    #[doc = "0x3c - output memory address register"]
    pub omar: OMAR,
    #[doc = "0x40 - output offset register"]
    pub oor: OOR,
    #[doc = "0x44 - number of line register"]
    pub nlr: NLR,
    #[doc = "0x48 - line watermark register"]
    pub lwr: LWR,
    #[doc = "0x4c - AHB master timer configuration register"]
    pub amtcr: AMTCR,
    _reserved0: [u8; 944usize],
    #[doc = "0x400 - FGCLUT"]
    pub fgclut: FGCLUT,
    _reserved1: [u8; 1020usize],
    #[doc = "0x800 - BGCLUT"]
    pub bgclut: BGCLUT,
}
#[doc = "control register"]
pub struct CR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "control register"]
pub mod cr;
#[doc = "Interrupt Status Register"]
pub struct ISR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Interrupt Status Register"]
pub mod isr;
#[doc = "interrupt flag clear register"]
pub struct IFCR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "interrupt flag clear register"]
pub mod ifcr;
#[doc = "foreground memory address register"]
pub struct FGMAR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "foreground memory address register"]
pub mod fgmar;
#[doc = "foreground offset register"]
pub struct FGOR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "foreground offset register"]
pub mod fgor;
#[doc = "background memory address register"]
pub struct BGMAR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "background memory address register"]
pub mod bgmar;
#[doc = "background offset register"]
pub struct BGOR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "background offset register"]
pub mod bgor;
#[doc = "foreground PFC control register"]
pub struct FGPFCCR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "foreground PFC control register"]
pub mod fgpfccr;
#[doc = "foreground color register"]
pub struct FGCOLR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "foreground color register"]
pub mod fgcolr;
#[doc = "background PFC control register"]
pub struct BGPFCCR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "background PFC control register"]
pub mod bgpfccr;
#[doc = "background color register"]
pub struct BGCOLR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "background color register"]
pub mod bgcolr;
#[doc = "foreground CLUT memory address register"]
pub struct FGCMAR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "foreground CLUT memory address register"]
pub mod fgcmar;
#[doc = "background CLUT memory address register"]
pub struct BGCMAR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "background CLUT memory address register"]
pub mod bgcmar;
#[doc = "output PFC control register"]
pub struct OPFCCR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "output PFC control register"]
pub mod opfccr;
#[doc = "output color register"]
pub struct OCOLR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "output color register"]
pub mod ocolr;
#[doc = "output memory address register"]
pub struct OMAR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "output memory address register"]
pub mod omar;
#[doc = "output offset register"]
pub struct OOR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "output offset register"]
pub mod oor;
#[doc = "number of line register"]
pub struct NLR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "number of line register"]
pub mod nlr;
#[doc = "line watermark register"]
pub struct LWR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "line watermark register"]
pub mod lwr;
#[doc = "AHB master timer configuration register"]
pub struct AMTCR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "AHB master timer configuration register"]
pub mod amtcr;
#[doc = "FGCLUT"]
pub struct FGCLUT {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "FGCLUT"]
pub mod fgclut;
#[doc = "BGCLUT"]
pub struct BGCLUT {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "BGCLUT"]
pub mod bgclut;