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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
#[doc = r" Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - USB PHY Power-Down Register"]
    pub pwd: PWD,
    #[doc = "0x04 - USB PHY Power-Down Register"]
    pub pwd_set: PWD_SET,
    #[doc = "0x08 - USB PHY Power-Down Register"]
    pub pwd_clr: PWD_CLR,
    #[doc = "0x0c - USB PHY Power-Down Register"]
    pub pwd_tog: PWD_TOG,
    #[doc = "0x10 - USB PHY Transmitter Control Register"]
    pub tx: TX,
    #[doc = "0x14 - USB PHY Transmitter Control Register"]
    pub tx_set: TX_SET,
    #[doc = "0x18 - USB PHY Transmitter Control Register"]
    pub tx_clr: TX_CLR,
    #[doc = "0x1c - USB PHY Transmitter Control Register"]
    pub tx_tog: TX_TOG,
    #[doc = "0x20 - USB PHY Receiver Control Register"]
    pub rx: RX,
    #[doc = "0x24 - USB PHY Receiver Control Register"]
    pub rx_set: RX_SET,
    #[doc = "0x28 - USB PHY Receiver Control Register"]
    pub rx_clr: RX_CLR,
    #[doc = "0x2c - USB PHY Receiver Control Register"]
    pub rx_tog: RX_TOG,
    #[doc = "0x30 - USB PHY General Control Register"]
    pub ctrl: CTRL,
    #[doc = "0x34 - USB PHY General Control Register"]
    pub ctrl_set: CTRL_SET,
    #[doc = "0x38 - USB PHY General Control Register"]
    pub ctrl_clr: CTRL_CLR,
    #[doc = "0x3c - USB PHY General Control Register"]
    pub ctrl_tog: CTRL_TOG,
    #[doc = "0x40 - USB PHY Status Register"]
    pub status: STATUS,
    _reserved0: [u8; 12usize],
    #[doc = "0x50 - USB PHY Debug Register 0"]
    pub debug0: DEBUG0,
    #[doc = "0x54 - USB PHY Debug Register 0"]
    pub debug0_set: DEBUG0_SET,
    #[doc = "0x58 - USB PHY Debug Register 0"]
    pub debug0_clr: DEBUG0_CLR,
    #[doc = "0x5c - USB PHY Debug Register 0"]
    pub debug0_tog: DEBUG0_TOG,
    _reserved1: [u8; 16usize],
    #[doc = "0x70 - UTMI Debug Status Register 1"]
    pub debug1: DEBUG1,
    #[doc = "0x74 - UTMI Debug Status Register 1"]
    pub debug1_set: DEBUG1_SET,
    #[doc = "0x78 - UTMI Debug Status Register 1"]
    pub debug1_clr: DEBUG1_CLR,
    #[doc = "0x7c - UTMI Debug Status Register 1"]
    pub debug1_tog: DEBUG1_TOG,
    #[doc = "0x80 - UTMI RTL Version"]
    pub version: VERSION,
    _reserved2: [u8; 28usize],
    #[doc = "0xa0 - USB PHY PLL Control/Status Register"]
    pub pll_sic: PLL_SIC,
    #[doc = "0xa4 - USB PHY PLL Control/Status Register"]
    pub pll_sic_set: PLL_SIC_SET,
    #[doc = "0xa8 - USB PHY PLL Control/Status Register"]
    pub pll_sic_clr: PLL_SIC_CLR,
    #[doc = "0xac - USB PHY PLL Control/Status Register"]
    pub pll_sic_tog: PLL_SIC_TOG,
    _reserved3: [u8; 16usize],
    #[doc = "0xc0 - USB PHY VBUS Detect Control Register"]
    pub usb1_vbus_detect: USB1_VBUS_DETECT,
    #[doc = "0xc4 - USB PHY VBUS Detect Control Register"]
    pub usb1_vbus_detect_set: USB1_VBUS_DETECT_SET,
    #[doc = "0xc8 - USB PHY VBUS Detect Control Register"]
    pub usb1_vbus_detect_clr: USB1_VBUS_DETECT_CLR,
    #[doc = "0xcc - USB PHY VBUS Detect Control Register"]
    pub usb1_vbus_detect_tog: USB1_VBUS_DETECT_TOG,
    #[doc = "0xd0 - USB PHY VBUS Detector Status Register"]
    pub usb1_vbus_det_stat: USB1_VBUS_DET_STAT,
    _reserved4: [u8; 12usize],
    #[doc = "0xe0 - USB PHY Charger Detect Control Register"]
    pub usb1_chrg_detect: USB1_CHRG_DETECT,
    #[doc = "0xe4 - USB PHY Charger Detect Control Register"]
    pub usb1_chrg_detect_set: USB1_CHRG_DETECT_SET,
    #[doc = "0xe8 - USB PHY Charger Detect Control Register"]
    pub usb1_chrg_detect_clr: USB1_CHRG_DETECT_CLR,
    #[doc = "0xec - USB PHY Charger Detect Control Register"]
    pub usb1_chrg_detect_tog: USB1_CHRG_DETECT_TOG,
    #[doc = "0xf0 - USB PHY Charger Detect Status Register"]
    pub usb1_chrg_det_stat: USB1_CHRG_DET_STAT,
    _reserved5: [u8; 12usize],
    #[doc = "0x100 - USB PHY Analog Control Register"]
    pub anactrl: ANACTRL,
    #[doc = "0x104 - USB PHY Analog Control Register"]
    pub anactrl_set: ANACTRL_SET,
    #[doc = "0x108 - USB PHY Analog Control Register"]
    pub anactrl_clr: ANACTRL_CLR,
    #[doc = "0x10c - USB PHY Analog Control Register"]
    pub anactrl_tog: ANACTRL_TOG,
}
#[doc = "USB PHY Power-Down Register"]
pub struct PWD {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Power-Down Register"]
pub mod pwd;
#[doc = "USB PHY Power-Down Register"]
pub struct PWD_SET {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Power-Down Register"]
pub mod pwd_set;
#[doc = "USB PHY Power-Down Register"]
pub struct PWD_CLR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Power-Down Register"]
pub mod pwd_clr;
#[doc = "USB PHY Power-Down Register"]
pub struct PWD_TOG {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Power-Down Register"]
pub mod pwd_tog;
#[doc = "USB PHY Transmitter Control Register"]
pub struct TX {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Transmitter Control Register"]
pub mod tx;
#[doc = "USB PHY Transmitter Control Register"]
pub struct TX_SET {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Transmitter Control Register"]
pub mod tx_set;
#[doc = "USB PHY Transmitter Control Register"]
pub struct TX_CLR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Transmitter Control Register"]
pub mod tx_clr;
#[doc = "USB PHY Transmitter Control Register"]
pub struct TX_TOG {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Transmitter Control Register"]
pub mod tx_tog;
#[doc = "USB PHY Receiver Control Register"]
pub struct RX {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Receiver Control Register"]
pub mod rx;
#[doc = "USB PHY Receiver Control Register"]
pub struct RX_SET {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Receiver Control Register"]
pub mod rx_set;
#[doc = "USB PHY Receiver Control Register"]
pub struct RX_CLR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Receiver Control Register"]
pub mod rx_clr;
#[doc = "USB PHY Receiver Control Register"]
pub struct RX_TOG {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Receiver Control Register"]
pub mod rx_tog;
#[doc = "USB PHY General Control Register"]
pub struct CTRL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY General Control Register"]
pub mod ctrl;
#[doc = "USB PHY General Control Register"]
pub struct CTRL_SET {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY General Control Register"]
pub mod ctrl_set;
#[doc = "USB PHY General Control Register"]
pub struct CTRL_CLR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY General Control Register"]
pub mod ctrl_clr;
#[doc = "USB PHY General Control Register"]
pub struct CTRL_TOG {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY General Control Register"]
pub mod ctrl_tog;
#[doc = "USB PHY Status Register"]
pub struct STATUS {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Status Register"]
pub mod status;
#[doc = "USB PHY Debug Register 0"]
pub struct DEBUG0 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Debug Register 0"]
pub mod debug0;
#[doc = "USB PHY Debug Register 0"]
pub struct DEBUG0_SET {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Debug Register 0"]
pub mod debug0_set;
#[doc = "USB PHY Debug Register 0"]
pub struct DEBUG0_CLR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Debug Register 0"]
pub mod debug0_clr;
#[doc = "USB PHY Debug Register 0"]
pub struct DEBUG0_TOG {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Debug Register 0"]
pub mod debug0_tog;
#[doc = "UTMI Debug Status Register 1"]
pub struct DEBUG1 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "UTMI Debug Status Register 1"]
pub mod debug1;
#[doc = "UTMI Debug Status Register 1"]
pub struct DEBUG1_SET {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "UTMI Debug Status Register 1"]
pub mod debug1_set;
#[doc = "UTMI Debug Status Register 1"]
pub struct DEBUG1_CLR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "UTMI Debug Status Register 1"]
pub mod debug1_clr;
#[doc = "UTMI Debug Status Register 1"]
pub struct DEBUG1_TOG {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "UTMI Debug Status Register 1"]
pub mod debug1_tog;
#[doc = "UTMI RTL Version"]
pub struct VERSION {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "UTMI RTL Version"]
pub mod version;
#[doc = "USB PHY PLL Control/Status Register"]
pub struct PLL_SIC {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY PLL Control/Status Register"]
pub mod pll_sic;
#[doc = "USB PHY PLL Control/Status Register"]
pub struct PLL_SIC_SET {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY PLL Control/Status Register"]
pub mod pll_sic_set;
#[doc = "USB PHY PLL Control/Status Register"]
pub struct PLL_SIC_CLR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY PLL Control/Status Register"]
pub mod pll_sic_clr;
#[doc = "USB PHY PLL Control/Status Register"]
pub struct PLL_SIC_TOG {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY PLL Control/Status Register"]
pub mod pll_sic_tog;
#[doc = "USB PHY VBUS Detect Control Register"]
pub struct USB1_VBUS_DETECT {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY VBUS Detect Control Register"]
pub mod usb1_vbus_detect;
#[doc = "USB PHY VBUS Detect Control Register"]
pub struct USB1_VBUS_DETECT_SET {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY VBUS Detect Control Register"]
pub mod usb1_vbus_detect_set;
#[doc = "USB PHY VBUS Detect Control Register"]
pub struct USB1_VBUS_DETECT_CLR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY VBUS Detect Control Register"]
pub mod usb1_vbus_detect_clr;
#[doc = "USB PHY VBUS Detect Control Register"]
pub struct USB1_VBUS_DETECT_TOG {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY VBUS Detect Control Register"]
pub mod usb1_vbus_detect_tog;
#[doc = "USB PHY VBUS Detector Status Register"]
pub struct USB1_VBUS_DET_STAT {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY VBUS Detector Status Register"]
pub mod usb1_vbus_det_stat;
#[doc = "USB PHY Charger Detect Control Register"]
pub struct USB1_CHRG_DETECT {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Charger Detect Control Register"]
pub mod usb1_chrg_detect;
#[doc = "USB PHY Charger Detect Control Register"]
pub struct USB1_CHRG_DETECT_SET {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Charger Detect Control Register"]
pub mod usb1_chrg_detect_set;
#[doc = "USB PHY Charger Detect Control Register"]
pub struct USB1_CHRG_DETECT_CLR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Charger Detect Control Register"]
pub mod usb1_chrg_detect_clr;
#[doc = "USB PHY Charger Detect Control Register"]
pub struct USB1_CHRG_DETECT_TOG {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Charger Detect Control Register"]
pub mod usb1_chrg_detect_tog;
#[doc = "USB PHY Charger Detect Status Register"]
pub struct USB1_CHRG_DET_STAT {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Charger Detect Status Register"]
pub mod usb1_chrg_det_stat;
#[doc = "USB PHY Analog Control Register"]
pub struct ANACTRL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Analog Control Register"]
pub mod anactrl;
#[doc = "USB PHY Analog Control Register"]
pub struct ANACTRL_SET {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Analog Control Register"]
pub mod anactrl_set;
#[doc = "USB PHY Analog Control Register"]
pub struct ANACTRL_CLR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Analog Control Register"]
pub mod anactrl_clr;
#[doc = "USB PHY Analog Control Register"]
pub struct ANACTRL_TOG {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "USB PHY Analog Control Register"]
pub mod anactrl_tog;