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
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
use crate::generic::*;
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio29CtrlFuncsel(pub u8);
impl Gpio29CtrlFuncsel {
    pub const SPI1_SS_N: Self = Self(0x01);
    pub const UART0_RX: Self = Self(0x02);
    pub const I2C0_SCL: Self = Self(0x03);
    pub const PWM_B_6: Self = Self(0x04);
    pub const SIO_29: Self = Self(0x05);
    pub const PIO0_29: Self = Self(0x06);
    pub const PIO1_29: Self = Self(0x07);
    pub const USB_MUXING_VBUS_EN: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio26CtrlFuncsel(pub u8);
impl Gpio26CtrlFuncsel {
    pub const SPI1_SCLK: Self = Self(0x01);
    pub const UART1_CTS: Self = Self(0x02);
    pub const I2C1_SDA: Self = Self(0x03);
    pub const PWM_A_5: Self = Self(0x04);
    pub const SIO_26: Self = Self(0x05);
    pub const PIO0_26: Self = Self(0x06);
    pub const PIO1_26: Self = Self(0x07);
    pub const USB_MUXING_VBUS_EN: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio0CtrlFuncsel(pub u8);
impl Gpio0CtrlFuncsel {
    pub const JTAG_TCK: Self = Self(0);
    pub const SPI0_RX: Self = Self(0x01);
    pub const UART0_TX: Self = Self(0x02);
    pub const I2C0_SDA: Self = Self(0x03);
    pub const PWM_A_0: Self = Self(0x04);
    pub const SIO_0: Self = Self(0x05);
    pub const PIO0_0: Self = Self(0x06);
    pub const PIO1_0: Self = Self(0x07);
    pub const USB_MUXING_OVERCURR_DETECT: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio24CtrlFuncsel(pub u8);
impl Gpio24CtrlFuncsel {
    pub const SPI1_RX: Self = Self(0x01);
    pub const UART1_TX: Self = Self(0x02);
    pub const I2C0_SDA: Self = Self(0x03);
    pub const PWM_A_4: Self = Self(0x04);
    pub const SIO_24: Self = Self(0x05);
    pub const PIO0_24: Self = Self(0x06);
    pub const PIO1_24: Self = Self(0x07);
    pub const CLOCKS_GPOUT_2: Self = Self(0x08);
    pub const USB_MUXING_OVERCURR_DETECT: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Irqover(pub u8);
impl Irqover {
    #[doc = "don't invert the interrupt"]
    pub const NORMAL: Self = Self(0);
    #[doc = "invert the interrupt"]
    pub const INVERT: Self = Self(0x01);
    #[doc = "drive interrupt low"]
    pub const LOW: Self = Self(0x02);
    #[doc = "drive interrupt high"]
    pub const HIGH: Self = Self(0x03);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Outover(pub u8);
impl Outover {
    #[doc = "drive output from peripheral signal selected by funcsel"]
    pub const NORMAL: Self = Self(0);
    #[doc = "drive output from inverse of peripheral signal selected by funcsel"]
    pub const INVERT: Self = Self(0x01);
    #[doc = "drive output low"]
    pub const LOW: Self = Self(0x02);
    #[doc = "drive output high"]
    pub const HIGH: Self = Self(0x03);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio8CtrlFuncsel(pub u8);
impl Gpio8CtrlFuncsel {
    pub const SPI1_RX: Self = Self(0x01);
    pub const UART1_TX: Self = Self(0x02);
    pub const I2C0_SDA: Self = Self(0x03);
    pub const PWM_A_4: Self = Self(0x04);
    pub const SIO_8: Self = Self(0x05);
    pub const PIO0_8: Self = Self(0x06);
    pub const PIO1_8: Self = Self(0x07);
    pub const USB_MUXING_EXTPHY_RCV: Self = Self(0x08);
    pub const USB_MUXING_VBUS_EN: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio13CtrlFuncsel(pub u8);
impl Gpio13CtrlFuncsel {
    pub const SPI1_SS_N: Self = Self(0x01);
    pub const UART0_RX: Self = Self(0x02);
    pub const I2C0_SCL: Self = Self(0x03);
    pub const PWM_B_6: Self = Self(0x04);
    pub const SIO_13: Self = Self(0x05);
    pub const PIO0_13: Self = Self(0x06);
    pub const PIO1_13: Self = Self(0x07);
    pub const USB_MUXING_EXTPHY_VPO: Self = Self(0x08);
    pub const USB_MUXING_VBUS_DETECT: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio1CtrlFuncsel(pub u8);
impl Gpio1CtrlFuncsel {
    pub const JTAG_TMS: Self = Self(0);
    pub const SPI0_SS_N: Self = Self(0x01);
    pub const UART0_RX: Self = Self(0x02);
    pub const I2C0_SCL: Self = Self(0x03);
    pub const PWM_B_0: Self = Self(0x04);
    pub const SIO_1: Self = Self(0x05);
    pub const PIO0_1: Self = Self(0x06);
    pub const PIO1_1: Self = Self(0x07);
    pub const USB_MUXING_VBUS_DETECT: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio27CtrlFuncsel(pub u8);
impl Gpio27CtrlFuncsel {
    pub const SPI1_TX: Self = Self(0x01);
    pub const UART1_RTS: Self = Self(0x02);
    pub const I2C1_SCL: Self = Self(0x03);
    pub const PWM_B_5: Self = Self(0x04);
    pub const SIO_27: Self = Self(0x05);
    pub const PIO0_27: Self = Self(0x06);
    pub const PIO1_27: Self = Self(0x07);
    pub const USB_MUXING_OVERCURR_DETECT: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio10CtrlFuncsel(pub u8);
impl Gpio10CtrlFuncsel {
    pub const SPI1_SCLK: Self = Self(0x01);
    pub const UART1_CTS: Self = Self(0x02);
    pub const I2C1_SDA: Self = Self(0x03);
    pub const PWM_A_5: Self = Self(0x04);
    pub const SIO_10: Self = Self(0x05);
    pub const PIO0_10: Self = Self(0x06);
    pub const PIO1_10: Self = Self(0x07);
    pub const USB_MUXING_EXTPHY_VM: Self = Self(0x08);
    pub const USB_MUXING_VBUS_DETECT: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio15CtrlFuncsel(pub u8);
impl Gpio15CtrlFuncsel {
    pub const SPI1_TX: Self = Self(0x01);
    pub const UART0_RTS: Self = Self(0x02);
    pub const I2C1_SCL: Self = Self(0x03);
    pub const PWM_B_7: Self = Self(0x04);
    pub const SIO_15: Self = Self(0x05);
    pub const PIO0_15: Self = Self(0x06);
    pub const PIO1_15: Self = Self(0x07);
    pub const USB_MUXING_DIGITAL_DP: Self = Self(0x08);
    pub const USB_MUXING_OVERCURR_DETECT: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio9CtrlFuncsel(pub u8);
impl Gpio9CtrlFuncsel {
    pub const SPI1_SS_N: Self = Self(0x01);
    pub const UART1_RX: Self = Self(0x02);
    pub const I2C0_SCL: Self = Self(0x03);
    pub const PWM_B_4: Self = Self(0x04);
    pub const SIO_9: Self = Self(0x05);
    pub const PIO0_9: Self = Self(0x06);
    pub const PIO1_9: Self = Self(0x07);
    pub const USB_MUXING_EXTPHY_VP: Self = Self(0x08);
    pub const USB_MUXING_OVERCURR_DETECT: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio16CtrlFuncsel(pub u8);
impl Gpio16CtrlFuncsel {
    pub const SPI0_RX: Self = Self(0x01);
    pub const UART0_TX: Self = Self(0x02);
    pub const I2C0_SDA: Self = Self(0x03);
    pub const PWM_A_0: Self = Self(0x04);
    pub const SIO_16: Self = Self(0x05);
    pub const PIO0_16: Self = Self(0x06);
    pub const PIO1_16: Self = Self(0x07);
    pub const USB_MUXING_DIGITAL_DM: Self = Self(0x08);
    pub const USB_MUXING_VBUS_DETECT: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Oeover(pub u8);
impl Oeover {
    #[doc = "drive output enable from peripheral signal selected by funcsel"]
    pub const NORMAL: Self = Self(0);
    #[doc = "drive output enable from inverse of peripheral signal selected by funcsel"]
    pub const INVERT: Self = Self(0x01);
    #[doc = "disable output"]
    pub const DISABLE: Self = Self(0x02);
    #[doc = "enable output"]
    pub const ENABLE: Self = Self(0x03);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio3CtrlFuncsel(pub u8);
impl Gpio3CtrlFuncsel {
    pub const JTAG_TDO: Self = Self(0);
    pub const SPI0_TX: Self = Self(0x01);
    pub const UART0_RTS: Self = Self(0x02);
    pub const I2C1_SCL: Self = Self(0x03);
    pub const PWM_B_1: Self = Self(0x04);
    pub const SIO_3: Self = Self(0x05);
    pub const PIO0_3: Self = Self(0x06);
    pub const PIO1_3: Self = Self(0x07);
    pub const USB_MUXING_OVERCURR_DETECT: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio14CtrlFuncsel(pub u8);
impl Gpio14CtrlFuncsel {
    pub const SPI1_SCLK: Self = Self(0x01);
    pub const UART0_CTS: Self = Self(0x02);
    pub const I2C1_SDA: Self = Self(0x03);
    pub const PWM_A_7: Self = Self(0x04);
    pub const SIO_14: Self = Self(0x05);
    pub const PIO0_14: Self = Self(0x06);
    pub const PIO1_14: Self = Self(0x07);
    pub const USB_MUXING_EXTPHY_VMO: Self = Self(0x08);
    pub const USB_MUXING_VBUS_EN: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio18CtrlFuncsel(pub u8);
impl Gpio18CtrlFuncsel {
    pub const SPI0_SCLK: Self = Self(0x01);
    pub const UART0_CTS: Self = Self(0x02);
    pub const I2C1_SDA: Self = Self(0x03);
    pub const PWM_A_1: Self = Self(0x04);
    pub const SIO_18: Self = Self(0x05);
    pub const PIO0_18: Self = Self(0x06);
    pub const PIO1_18: Self = Self(0x07);
    pub const USB_MUXING_OVERCURR_DETECT: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio25CtrlFuncsel(pub u8);
impl Gpio25CtrlFuncsel {
    pub const SPI1_SS_N: Self = Self(0x01);
    pub const UART1_RX: Self = Self(0x02);
    pub const I2C0_SCL: Self = Self(0x03);
    pub const PWM_B_4: Self = Self(0x04);
    pub const SIO_25: Self = Self(0x05);
    pub const PIO0_25: Self = Self(0x06);
    pub const PIO1_25: Self = Self(0x07);
    pub const CLOCKS_GPOUT_3: Self = Self(0x08);
    pub const USB_MUXING_VBUS_DETECT: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Inover(pub u8);
impl Inover {
    #[doc = "don't invert the peri input"]
    pub const NORMAL: Self = Self(0);
    #[doc = "invert the peri input"]
    pub const INVERT: Self = Self(0x01);
    #[doc = "drive peri input low"]
    pub const LOW: Self = Self(0x02);
    #[doc = "drive peri input high"]
    pub const HIGH: Self = Self(0x03);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio12CtrlFuncsel(pub u8);
impl Gpio12CtrlFuncsel {
    pub const SPI1_RX: Self = Self(0x01);
    pub const UART0_TX: Self = Self(0x02);
    pub const I2C0_SDA: Self = Self(0x03);
    pub const PWM_A_6: Self = Self(0x04);
    pub const SIO_12: Self = Self(0x05);
    pub const PIO0_12: Self = Self(0x06);
    pub const PIO1_12: Self = Self(0x07);
    pub const USB_MUXING_EXTPHY_SPEED: Self = Self(0x08);
    pub const USB_MUXING_OVERCURR_DETECT: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio19CtrlFuncsel(pub u8);
impl Gpio19CtrlFuncsel {
    pub const SPI0_TX: Self = Self(0x01);
    pub const UART0_RTS: Self = Self(0x02);
    pub const I2C1_SCL: Self = Self(0x03);
    pub const PWM_B_1: Self = Self(0x04);
    pub const SIO_19: Self = Self(0x05);
    pub const PIO0_19: Self = Self(0x06);
    pub const PIO1_19: Self = Self(0x07);
    pub const USB_MUXING_VBUS_DETECT: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio5CtrlFuncsel(pub u8);
impl Gpio5CtrlFuncsel {
    pub const SPI0_SS_N: Self = Self(0x01);
    pub const UART1_RX: Self = Self(0x02);
    pub const I2C0_SCL: Self = Self(0x03);
    pub const PWM_B_2: Self = Self(0x04);
    pub const SIO_5: Self = Self(0x05);
    pub const PIO0_5: Self = Self(0x06);
    pub const PIO1_5: Self = Self(0x07);
    pub const USB_MUXING_VBUS_EN: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio23CtrlFuncsel(pub u8);
impl Gpio23CtrlFuncsel {
    pub const SPI0_TX: Self = Self(0x01);
    pub const UART1_RTS: Self = Self(0x02);
    pub const I2C1_SCL: Self = Self(0x03);
    pub const PWM_B_3: Self = Self(0x04);
    pub const SIO_23: Self = Self(0x05);
    pub const PIO0_23: Self = Self(0x06);
    pub const PIO1_23: Self = Self(0x07);
    pub const CLOCKS_GPOUT_1: Self = Self(0x08);
    pub const USB_MUXING_VBUS_EN: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio20CtrlFuncsel(pub u8);
impl Gpio20CtrlFuncsel {
    pub const SPI0_RX: Self = Self(0x01);
    pub const UART1_TX: Self = Self(0x02);
    pub const I2C0_SDA: Self = Self(0x03);
    pub const PWM_A_2: Self = Self(0x04);
    pub const SIO_20: Self = Self(0x05);
    pub const PIO0_20: Self = Self(0x06);
    pub const PIO1_20: Self = Self(0x07);
    pub const CLOCKS_GPIN_0: Self = Self(0x08);
    pub const USB_MUXING_VBUS_EN: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio6CtrlFuncsel(pub u8);
impl Gpio6CtrlFuncsel {
    pub const SPI0_SCLK: Self = Self(0x01);
    pub const UART1_CTS: Self = Self(0x02);
    pub const I2C1_SDA: Self = Self(0x03);
    pub const PWM_A_3: Self = Self(0x04);
    pub const SIO_6: Self = Self(0x05);
    pub const PIO0_6: Self = Self(0x06);
    pub const PIO1_6: Self = Self(0x07);
    pub const USB_MUXING_EXTPHY_SOFTCON: Self = Self(0x08);
    pub const USB_MUXING_OVERCURR_DETECT: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio4CtrlFuncsel(pub u8);
impl Gpio4CtrlFuncsel {
    pub const SPI0_RX: Self = Self(0x01);
    pub const UART1_TX: Self = Self(0x02);
    pub const I2C0_SDA: Self = Self(0x03);
    pub const PWM_A_2: Self = Self(0x04);
    pub const SIO_4: Self = Self(0x05);
    pub const PIO0_4: Self = Self(0x06);
    pub const PIO1_4: Self = Self(0x07);
    pub const USB_MUXING_VBUS_DETECT: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio7CtrlFuncsel(pub u8);
impl Gpio7CtrlFuncsel {
    pub const SPI0_TX: Self = Self(0x01);
    pub const UART1_RTS: Self = Self(0x02);
    pub const I2C1_SCL: Self = Self(0x03);
    pub const PWM_B_3: Self = Self(0x04);
    pub const SIO_7: Self = Self(0x05);
    pub const PIO0_7: Self = Self(0x06);
    pub const PIO1_7: Self = Self(0x07);
    pub const USB_MUXING_EXTPHY_OE_N: Self = Self(0x08);
    pub const USB_MUXING_VBUS_DETECT: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio11CtrlFuncsel(pub u8);
impl Gpio11CtrlFuncsel {
    pub const SPI1_TX: Self = Self(0x01);
    pub const UART1_RTS: Self = Self(0x02);
    pub const I2C1_SCL: Self = Self(0x03);
    pub const PWM_B_5: Self = Self(0x04);
    pub const SIO_11: Self = Self(0x05);
    pub const PIO0_11: Self = Self(0x06);
    pub const PIO1_11: Self = Self(0x07);
    pub const USB_MUXING_EXTPHY_SUSPND: Self = Self(0x08);
    pub const USB_MUXING_VBUS_EN: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio17CtrlFuncsel(pub u8);
impl Gpio17CtrlFuncsel {
    pub const SPI0_SS_N: Self = Self(0x01);
    pub const UART0_RX: Self = Self(0x02);
    pub const I2C0_SCL: Self = Self(0x03);
    pub const PWM_B_0: Self = Self(0x04);
    pub const SIO_17: Self = Self(0x05);
    pub const PIO0_17: Self = Self(0x06);
    pub const PIO1_17: Self = Self(0x07);
    pub const USB_MUXING_VBUS_EN: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio22CtrlFuncsel(pub u8);
impl Gpio22CtrlFuncsel {
    pub const SPI0_SCLK: Self = Self(0x01);
    pub const UART1_CTS: Self = Self(0x02);
    pub const I2C1_SDA: Self = Self(0x03);
    pub const PWM_A_3: Self = Self(0x04);
    pub const SIO_22: Self = Self(0x05);
    pub const PIO0_22: Self = Self(0x06);
    pub const PIO1_22: Self = Self(0x07);
    pub const CLOCKS_GPIN_1: Self = Self(0x08);
    pub const USB_MUXING_VBUS_DETECT: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio2CtrlFuncsel(pub u8);
impl Gpio2CtrlFuncsel {
    pub const JTAG_TDI: Self = Self(0);
    pub const SPI0_SCLK: Self = Self(0x01);
    pub const UART0_CTS: Self = Self(0x02);
    pub const I2C1_SDA: Self = Self(0x03);
    pub const PWM_A_1: Self = Self(0x04);
    pub const SIO_2: Self = Self(0x05);
    pub const PIO0_2: Self = Self(0x06);
    pub const PIO1_2: Self = Self(0x07);
    pub const USB_MUXING_VBUS_EN: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio28CtrlFuncsel(pub u8);
impl Gpio28CtrlFuncsel {
    pub const SPI1_RX: Self = Self(0x01);
    pub const UART0_TX: Self = Self(0x02);
    pub const I2C0_SDA: Self = Self(0x03);
    pub const PWM_A_6: Self = Self(0x04);
    pub const SIO_28: Self = Self(0x05);
    pub const PIO0_28: Self = Self(0x06);
    pub const PIO1_28: Self = Self(0x07);
    pub const USB_MUXING_VBUS_DETECT: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Gpio21CtrlFuncsel(pub u8);
impl Gpio21CtrlFuncsel {
    pub const SPI0_SS_N: Self = Self(0x01);
    pub const UART1_RX: Self = Self(0x02);
    pub const I2C0_SCL: Self = Self(0x03);
    pub const PWM_B_2: Self = Self(0x04);
    pub const SIO_21: Self = Self(0x05);
    pub const PIO0_21: Self = Self(0x06);
    pub const PIO1_21: Self = Self(0x07);
    pub const CLOCKS_GPOUT_0: Self = Self(0x08);
    pub const USB_MUXING_OVERCURR_DETECT: Self = Self(0x09);
    pub const NULL: Self = Self(0x1f);
}