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
#[doc = r" Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - Control Register"]
    pub ctrl: CTRL,
    _reserved0: [u8; 4usize],
    #[doc = "0x08 - Command Register"]
    pub cmd: CMD,
    #[doc = "0x0c - Status Register"]
    pub status: STATUS,
    #[doc = "0x10 - Single Channel Control Register"]
    pub singlectrl: SINGLECTRL,
    #[doc = "0x14 - Single Channel Control Register Continued"]
    pub singlectrlx: SINGLECTRLX,
    #[doc = "0x18 - Scan Control Register"]
    pub scanctrl: SCANCTRL,
    #[doc = "0x1c - Scan Control Register Continued"]
    pub scanctrlx: SCANCTRLX,
    #[doc = "0x20 - Scan Sequence Input Mask Register"]
    pub scanmask: SCANMASK,
    #[doc = "0x24 - Input Selection Register for Scan Mode"]
    pub scaninputsel: SCANINPUTSEL,
    #[doc = "0x28 - Negative Input Select Register for Scan"]
    pub scannegsel: SCANNEGSEL,
    #[doc = "0x2c - Compare Threshold Register"]
    pub cmpthr: CMPTHR,
    #[doc = "0x30 - Bias Programming Register for Various Analog Blocks Used in ADC Operation"]
    pub biasprog: BIASPROG,
    #[doc = "0x34 - Calibration Register"]
    pub cal: CAL,
    #[doc = "0x38 - Interrupt Flag Register"]
    pub if_: IF,
    #[doc = "0x3c - Interrupt Flag Set Register"]
    pub ifs: IFS,
    #[doc = "0x40 - Interrupt Flag Clear Register"]
    pub ifc: IFC,
    #[doc = "0x44 - Interrupt Enable Register"]
    pub ien: IEN,
    #[doc = "0x48 - Single Conversion Result Data"]
    pub singledata: SINGLEDATA,
    #[doc = "0x4c - Scan Conversion Result Data"]
    pub scandata: SCANDATA,
    #[doc = "0x50 - Single Conversion Result Data Peek Register"]
    pub singledatap: SINGLEDATAP,
    #[doc = "0x54 - Scan Sequence Result Data Peek Register"]
    pub scandatap: SCANDATAP,
    _reserved1: [u8; 16usize],
    #[doc = "0x68 - Scan Sequence Result Data + Data Source Register"]
    pub scandatax: SCANDATAX,
    #[doc = "0x6c - Scan Sequence Result Data + Data Source Peek Register"]
    pub scandataxp: SCANDATAXP,
    _reserved2: [u8; 12usize],
    #[doc = "0x7c - APORT Request Status Register"]
    pub aportreq: APORTREQ,
    #[doc = "0x80 - APORT Conflict Status Register"]
    pub aportconflict: APORTCONFLICT,
    #[doc = "0x84 - Single FIFO Count Register"]
    pub singlefifocount: SINGLEFIFOCOUNT,
    #[doc = "0x88 - Scan FIFO Count Register"]
    pub scanfifocount: SCANFIFOCOUNT,
    #[doc = "0x8c - Single FIFO Clear Register"]
    pub singlefifoclear: SINGLEFIFOCLEAR,
    #[doc = "0x90 - Scan FIFO Clear Register"]
    pub scanfifoclear: SCANFIFOCLEAR,
    #[doc = "0x94 - APORT Bus Master Disable Register"]
    pub aportmasterdis: APORTMASTERDIS,
}
#[doc = "Control Register"]
pub struct CTRL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Control Register"]
pub mod ctrl;
#[doc = "Command Register"]
pub struct CMD {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Command Register"]
pub mod cmd;
#[doc = "Status Register"]
pub struct STATUS {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Status Register"]
pub mod status;
#[doc = "Single Channel Control Register"]
pub struct SINGLECTRL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Single Channel Control Register"]
pub mod singlectrl;
#[doc = "Single Channel Control Register Continued"]
pub struct SINGLECTRLX {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Single Channel Control Register Continued"]
pub mod singlectrlx;
#[doc = "Scan Control Register"]
pub struct SCANCTRL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Scan Control Register"]
pub mod scanctrl;
#[doc = "Scan Control Register Continued"]
pub struct SCANCTRLX {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Scan Control Register Continued"]
pub mod scanctrlx;
#[doc = "Scan Sequence Input Mask Register"]
pub struct SCANMASK {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Scan Sequence Input Mask Register"]
pub mod scanmask;
#[doc = "Input Selection Register for Scan Mode"]
pub struct SCANINPUTSEL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Input Selection Register for Scan Mode"]
pub mod scaninputsel;
#[doc = "Negative Input Select Register for Scan"]
pub struct SCANNEGSEL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Negative Input Select Register for Scan"]
pub mod scannegsel;
#[doc = "Compare Threshold Register"]
pub struct CMPTHR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Compare Threshold Register"]
pub mod cmpthr;
#[doc = "Bias Programming Register for Various Analog Blocks Used in ADC Operation"]
pub struct BIASPROG {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Bias Programming Register for Various Analog Blocks Used in ADC Operation"]
pub mod biasprog;
#[doc = "Calibration Register"]
pub struct CAL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Calibration Register"]
pub mod cal;
#[doc = "Interrupt Flag Register"]
pub struct IF {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Interrupt Flag Register"]
pub mod if_;
#[doc = "Interrupt Flag Set Register"]
pub struct IFS {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Interrupt Flag Set Register"]
pub mod ifs;
#[doc = "Interrupt Flag Clear Register"]
pub struct IFC {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Interrupt Flag Clear Register"]
pub mod ifc;
#[doc = "Interrupt Enable Register"]
pub struct IEN {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Interrupt Enable Register"]
pub mod ien;
#[doc = "Single Conversion Result Data"]
pub struct SINGLEDATA {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Single Conversion Result Data"]
pub mod singledata;
#[doc = "Scan Conversion Result Data"]
pub struct SCANDATA {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Scan Conversion Result Data"]
pub mod scandata;
#[doc = "Single Conversion Result Data Peek Register"]
pub struct SINGLEDATAP {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Single Conversion Result Data Peek Register"]
pub mod singledatap;
#[doc = "Scan Sequence Result Data Peek Register"]
pub struct SCANDATAP {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Scan Sequence Result Data Peek Register"]
pub mod scandatap;
#[doc = "Scan Sequence Result Data + Data Source Register"]
pub struct SCANDATAX {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Scan Sequence Result Data + Data Source Register"]
pub mod scandatax;
#[doc = "Scan Sequence Result Data + Data Source Peek Register"]
pub struct SCANDATAXP {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Scan Sequence Result Data + Data Source Peek Register"]
pub mod scandataxp;
#[doc = "APORT Request Status Register"]
pub struct APORTREQ {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "APORT Request Status Register"]
pub mod aportreq;
#[doc = "APORT Conflict Status Register"]
pub struct APORTCONFLICT {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "APORT Conflict Status Register"]
pub mod aportconflict;
#[doc = "Single FIFO Count Register"]
pub struct SINGLEFIFOCOUNT {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Single FIFO Count Register"]
pub mod singlefifocount;
#[doc = "Scan FIFO Count Register"]
pub struct SCANFIFOCOUNT {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Scan FIFO Count Register"]
pub mod scanfifocount;
#[doc = "Single FIFO Clear Register"]
pub struct SINGLEFIFOCLEAR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Single FIFO Clear Register"]
pub mod singlefifoclear;
#[doc = "Scan FIFO Clear Register"]
pub struct SCANFIFOCLEAR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Scan FIFO Clear Register"]
pub mod scanfifoclear;
#[doc = "APORT Bus Master Disable Register"]
pub struct APORTMASTERDIS {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "APORT Bus Master Disable Register"]
pub mod aportmasterdis;