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
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
#[doc = r" Register block"]
#[repr(C)]
pub struct RegisterBlock {
    _reserved0: [u8; 4usize],
    #[doc = "0x04 - Interrupt Event Register"]
    pub eir: EIR,
    #[doc = "0x08 - Interrupt Mask Register"]
    pub eimr: EIMR,
    _reserved1: [u8; 4usize],
    #[doc = "0x10 - Receive Descriptor Active Register"]
    pub rdar: RDAR,
    #[doc = "0x14 - Transmit Descriptor Active Register"]
    pub tdar: TDAR,
    _reserved2: [u8; 12usize],
    #[doc = "0x24 - Ethernet Control Register"]
    pub ecr: ECR,
    _reserved3: [u8; 24usize],
    #[doc = "0x40 - MII Management Frame Register"]
    pub mmfr: MMFR,
    #[doc = "0x44 - MII Speed Control Register"]
    pub mscr: MSCR,
    _reserved4: [u8; 28usize],
    #[doc = "0x64 - MIB Control Register"]
    pub mibc: MIBC,
    _reserved5: [u8; 28usize],
    #[doc = "0x84 - Receive Control Register"]
    pub rcr: RCR,
    _reserved6: [u8; 60usize],
    #[doc = "0xc4 - Transmit Control Register"]
    pub tcr: TCR,
    _reserved7: [u8; 28usize],
    #[doc = "0xe4 - Physical Address Lower Register"]
    pub palr: PALR,
    #[doc = "0xe8 - Physical Address Upper Register"]
    pub paur: PAUR,
    #[doc = "0xec - Opcode/Pause Duration Register"]
    pub opd: OPD,
    _reserved8: [u8; 40usize],
    #[doc = "0x118 - Descriptor Individual Upper Address Register"]
    pub iaur: IAUR,
    #[doc = "0x11c - Descriptor Individual Lower Address Register"]
    pub ialr: IALR,
    #[doc = "0x120 - Descriptor Group Upper Address Register"]
    pub gaur: GAUR,
    #[doc = "0x124 - Descriptor Group Lower Address Register"]
    pub galr: GALR,
    _reserved9: [u8; 28usize],
    #[doc = "0x144 - Transmit FIFO Watermark Register"]
    pub tfwr: TFWR,
    _reserved10: [u8; 56usize],
    #[doc = "0x180 - Receive Descriptor Ring Start Register"]
    pub rdsr: RDSR,
    #[doc = "0x184 - Transmit Buffer Descriptor Ring Start Register"]
    pub tdsr: TDSR,
    #[doc = "0x188 - Maximum Receive Buffer Size Register"]
    pub mrbr: MRBR,
    _reserved11: [u8; 4usize],
    #[doc = "0x190 - Receive FIFO Section Full Threshold"]
    pub rsfl: RSFL,
    #[doc = "0x194 - Receive FIFO Section Empty Threshold"]
    pub rsem: RSEM,
    #[doc = "0x198 - Receive FIFO Almost Empty Threshold"]
    pub raem: RAEM,
    #[doc = "0x19c - Receive FIFO Almost Full Threshold"]
    pub rafl: RAFL,
    #[doc = "0x1a0 - Transmit FIFO Section Empty Threshold"]
    pub tsem: TSEM,
    #[doc = "0x1a4 - Transmit FIFO Almost Empty Threshold"]
    pub taem: TAEM,
    #[doc = "0x1a8 - Transmit FIFO Almost Full Threshold"]
    pub tafl: TAFL,
    #[doc = "0x1ac - Transmit Inter-Packet Gap"]
    pub tipg: TIPG,
    #[doc = "0x1b0 - Frame Truncation Length"]
    pub ftrl: FTRL,
    _reserved12: [u8; 12usize],
    #[doc = "0x1c0 - Transmit Accelerator Function Configuration"]
    pub tacc: TACC,
    #[doc = "0x1c4 - Receive Accelerator Function Configuration"]
    pub racc: RACC,
    _reserved13: [u8; 60usize],
    #[doc = "0x204 - Tx Packet Count Statistic Register"]
    pub rmon_t_packets: RMON_T_PACKETS,
    #[doc = "0x208 - Tx Broadcast Packets Statistic Register"]
    pub rmon_t_bc_pkt: RMON_T_BC_PKT,
    #[doc = "0x20c - Tx Multicast Packets Statistic Register"]
    pub rmon_t_mc_pkt: RMON_T_MC_PKT,
    #[doc = "0x210 - Tx Packets with CRC/Align Error Statistic Register"]
    pub rmon_t_crc_align: RMON_T_CRC_ALIGN,
    #[doc = "0x214 - Tx Packets Less Than Bytes and Good CRC Statistic Register"]
    pub rmon_t_undersize: RMON_T_UNDERSIZE,
    #[doc = "0x218 - Tx Packets GT MAX_FL bytes and Good CRC Statistic Register"]
    pub rmon_t_oversize: RMON_T_OVERSIZE,
    #[doc = "0x21c - Tx Packets Less Than 64 Bytes and Bad CRC Statistic Register"]
    pub rmon_t_frag: RMON_T_FRAG,
    #[doc = "0x220 - Tx Packets Greater Than MAX_FL bytes and Bad CRC Statistic Register"]
    pub rmon_t_jab: RMON_T_JAB,
    #[doc = "0x224 - Tx Collision Count Statistic Register"]
    pub rmon_t_col: RMON_T_COL,
    #[doc = "0x228 - Tx 64-Byte Packets Statistic Register"]
    pub rmon_t_p64: RMON_T_P64,
    #[doc = "0x22c - Tx 65- to 127-byte Packets Statistic Register"]
    pub rmon_t_p65to127: RMON_T_P65TO127,
    #[doc = "0x230 - Tx 128- to 255-byte Packets Statistic Register"]
    pub rmon_t_p128to255: RMON_T_P128TO255,
    #[doc = "0x234 - Tx 256- to 511-byte Packets Statistic Register"]
    pub rmon_t_p256to511: RMON_T_P256TO511,
    #[doc = "0x238 - Tx 512- to 1023-byte Packets Statistic Register"]
    pub rmon_t_p512to1023: RMON_T_P512TO1023,
    #[doc = "0x23c - Tx 1024- to 2047-byte Packets Statistic Register"]
    pub rmon_t_p1024to2047: RMON_T_P1024TO2047,
    #[doc = "0x240 - Tx Packets Greater Than 2048 Bytes Statistic Register"]
    pub rmon_t_p_gte2048: RMON_T_P_GTE2048,
    #[doc = "0x244 - Tx Octets Statistic Register"]
    pub rmon_t_octets: RMON_T_OCTETS,
    _reserved14: [u8; 4usize],
    #[doc = "0x24c - Frames Transmitted OK Statistic Register"]
    pub ieee_t_frame_ok: IEEE_T_FRAME_OK,
    #[doc = "0x250 - Frames Transmitted with Single Collision Statistic Register"]
    pub ieee_t_1col: IEEE_T_1COL,
    #[doc = "0x254 - Frames Transmitted with Multiple Collisions Statistic Register"]
    pub ieee_t_mcol: IEEE_T_MCOL,
    #[doc = "0x258 - Frames Transmitted after Deferral Delay Statistic Register"]
    pub ieee_t_def: IEEE_T_DEF,
    #[doc = "0x25c - Frames Transmitted with Late Collision Statistic Register"]
    pub ieee_t_lcol: IEEE_T_LCOL,
    #[doc = "0x260 - Frames Transmitted with Excessive Collisions Statistic Register"]
    pub ieee_t_excol: IEEE_T_EXCOL,
    #[doc = "0x264 - Frames Transmitted with Tx FIFO Underrun Statistic Register"]
    pub ieee_t_macerr: IEEE_T_MACERR,
    #[doc = "0x268 - Frames Transmitted with Carrier Sense Error Statistic Register"]
    pub ieee_t_cserr: IEEE_T_CSERR,
    _reserved15: [u8; 4usize],
    #[doc = "0x270 - Flow Control Pause Frames Transmitted Statistic Register"]
    pub ieee_t_fdxfc: IEEE_T_FDXFC,
    #[doc = "0x274 - Octet Count for Frames Transmitted w/o Error Statistic Register"]
    pub ieee_t_octets_ok: IEEE_T_OCTETS_OK,
    _reserved16: [u8; 12usize],
    #[doc = "0x284 - Rx Packet Count Statistic Register"]
    pub rmon_r_packets: RMON_R_PACKETS,
    #[doc = "0x288 - Rx Broadcast Packets Statistic Register"]
    pub rmon_r_bc_pkt: RMON_R_BC_PKT,
    #[doc = "0x28c - Rx Multicast Packets Statistic Register"]
    pub rmon_r_mc_pkt: RMON_R_MC_PKT,
    #[doc = "0x290 - Rx Packets with CRC/Align Error Statistic Register"]
    pub rmon_r_crc_align: RMON_R_CRC_ALIGN,
    #[doc = "0x294 - Rx Packets with Less Than 64 Bytes and Good CRC Statistic Register"]
    pub rmon_r_undersize: RMON_R_UNDERSIZE,
    #[doc = "0x298 - Rx Packets Greater Than MAX_FL and Good CRC Statistic Register"]
    pub rmon_r_oversize: RMON_R_OVERSIZE,
    #[doc = "0x29c - Rx Packets Less Than 64 Bytes and Bad CRC Statistic Register"]
    pub rmon_r_frag: RMON_R_FRAG,
    #[doc = "0x2a0 - Rx Packets Greater Than MAX_FL Bytes and Bad CRC Statistic Register"]
    pub rmon_r_jab: RMON_R_JAB,
    _reserved17: [u8; 4usize],
    #[doc = "0x2a8 - Rx 64-Byte Packets Statistic Register"]
    pub rmon_r_p64: RMON_R_P64,
    #[doc = "0x2ac - Rx 65- to 127-Byte Packets Statistic Register"]
    pub rmon_r_p65to127: RMON_R_P65TO127,
    #[doc = "0x2b0 - Rx 128- to 255-Byte Packets Statistic Register"]
    pub rmon_r_p128to255: RMON_R_P128TO255,
    #[doc = "0x2b4 - Rx 256- to 511-Byte Packets Statistic Register"]
    pub rmon_r_p256to511: RMON_R_P256TO511,
    #[doc = "0x2b8 - Rx 512- to 1023-Byte Packets Statistic Register"]
    pub rmon_r_p512to1023: RMON_R_P512TO1023,
    #[doc = "0x2bc - Rx 1024- to 2047-Byte Packets Statistic Register"]
    pub rmon_r_p1024to2047: RMON_R_P1024TO2047,
    #[doc = "0x2c0 - Rx Packets Greater than 2048 Bytes Statistic Register"]
    pub rmon_r_p_gte2048: RMON_R_P_GTE2048,
    #[doc = "0x2c4 - Rx Octets Statistic Register"]
    pub rmon_r_octets: RMON_R_OCTETS,
    #[doc = "0x2c8 - Frames not Counted Correctly Statistic Register"]
    pub ieee_r_drop: IEEE_R_DROP,
    #[doc = "0x2cc - Frames Received OK Statistic Register"]
    pub ieee_r_frame_ok: IEEE_R_FRAME_OK,
    #[doc = "0x2d0 - Frames Received with CRC Error Statistic Register"]
    pub ieee_r_crc: IEEE_R_CRC,
    #[doc = "0x2d4 - Frames Received with Alignment Error Statistic Register"]
    pub ieee_r_align: IEEE_R_ALIGN,
    #[doc = "0x2d8 - Receive FIFO Overflow Count Statistic Register"]
    pub ieee_r_macerr: IEEE_R_MACERR,
    #[doc = "0x2dc - Flow Control Pause Frames Received Statistic Register"]
    pub ieee_r_fdxfc: IEEE_R_FDXFC,
    #[doc = "0x2e0 - Octet Count for Frames Received without Error Statistic Register"]
    pub ieee_r_octets_ok: IEEE_R_OCTETS_OK,
    _reserved18: [u8; 284usize],
    #[doc = "0x400 - Adjustable Timer Control Register"]
    pub atcr: ATCR,
    #[doc = "0x404 - Timer Value Register"]
    pub atvr: ATVR,
    #[doc = "0x408 - Timer Offset Register"]
    pub atoff: ATOFF,
    #[doc = "0x40c - Timer Period Register"]
    pub atper: ATPER,
    #[doc = "0x410 - Timer Correction Register"]
    pub atcor: ATCOR,
    #[doc = "0x414 - Time-Stamping Clock Period Register"]
    pub atinc: ATINC,
    #[doc = "0x418 - Timestamp of Last Transmitted Frame"]
    pub atstmp: ATSTMP,
    _reserved19: [u8; 488usize],
    #[doc = "0x604 - Timer Global Status Register"]
    pub tgsr: TGSR,
    #[doc = "0x608 - Timer Control Status Register"]
    pub tcsr0: TCSR,
    #[doc = "0x60c - Timer Compare Capture Register"]
    pub tccr0: TCCR,
    #[doc = "0x610 - Timer Control Status Register"]
    pub tcsr1: TCSR,
    #[doc = "0x614 - Timer Compare Capture Register"]
    pub tccr1: TCCR,
    #[doc = "0x618 - Timer Control Status Register"]
    pub tcsr2: TCSR,
    #[doc = "0x61c - Timer Compare Capture Register"]
    pub tccr2: TCCR,
    #[doc = "0x620 - Timer Control Status Register"]
    pub tcsr3: TCSR,
    #[doc = "0x624 - Timer Compare Capture Register"]
    pub tccr3: TCCR,
}
#[doc = "Interrupt Event Register"]
pub struct EIR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Interrupt Event Register"]
pub mod eir;
#[doc = "Interrupt Mask Register"]
pub struct EIMR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Interrupt Mask Register"]
pub mod eimr;
#[doc = "Receive Descriptor Active Register"]
pub struct RDAR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Receive Descriptor Active Register"]
pub mod rdar;
#[doc = "Transmit Descriptor Active Register"]
pub struct TDAR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Transmit Descriptor Active Register"]
pub mod tdar;
#[doc = "Ethernet Control Register"]
pub struct ECR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Ethernet Control Register"]
pub mod ecr;
#[doc = "MII Management Frame Register"]
pub struct MMFR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "MII Management Frame Register"]
pub mod mmfr;
#[doc = "MII Speed Control Register"]
pub struct MSCR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "MII Speed Control Register"]
pub mod mscr;
#[doc = "MIB Control Register"]
pub struct MIBC {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "MIB Control Register"]
pub mod mibc;
#[doc = "Receive Control Register"]
pub struct RCR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Receive Control Register"]
pub mod rcr;
#[doc = "Transmit Control Register"]
pub struct TCR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Transmit Control Register"]
pub mod tcr;
#[doc = "Physical Address Lower Register"]
pub struct PALR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Physical Address Lower Register"]
pub mod palr;
#[doc = "Physical Address Upper Register"]
pub struct PAUR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Physical Address Upper Register"]
pub mod paur;
#[doc = "Opcode/Pause Duration Register"]
pub struct OPD {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Opcode/Pause Duration Register"]
pub mod opd;
#[doc = "Descriptor Individual Upper Address Register"]
pub struct IAUR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Descriptor Individual Upper Address Register"]
pub mod iaur;
#[doc = "Descriptor Individual Lower Address Register"]
pub struct IALR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Descriptor Individual Lower Address Register"]
pub mod ialr;
#[doc = "Descriptor Group Upper Address Register"]
pub struct GAUR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Descriptor Group Upper Address Register"]
pub mod gaur;
#[doc = "Descriptor Group Lower Address Register"]
pub struct GALR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Descriptor Group Lower Address Register"]
pub mod galr;
#[doc = "Transmit FIFO Watermark Register"]
pub struct TFWR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Transmit FIFO Watermark Register"]
pub mod tfwr;
#[doc = "Receive Descriptor Ring Start Register"]
pub struct RDSR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Receive Descriptor Ring Start Register"]
pub mod rdsr;
#[doc = "Transmit Buffer Descriptor Ring Start Register"]
pub struct TDSR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Transmit Buffer Descriptor Ring Start Register"]
pub mod tdsr;
#[doc = "Maximum Receive Buffer Size Register"]
pub struct MRBR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Maximum Receive Buffer Size Register"]
pub mod mrbr;
#[doc = "Receive FIFO Section Full Threshold"]
pub struct RSFL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Receive FIFO Section Full Threshold"]
pub mod rsfl;
#[doc = "Receive FIFO Section Empty Threshold"]
pub struct RSEM {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Receive FIFO Section Empty Threshold"]
pub mod rsem;
#[doc = "Receive FIFO Almost Empty Threshold"]
pub struct RAEM {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Receive FIFO Almost Empty Threshold"]
pub mod raem;
#[doc = "Receive FIFO Almost Full Threshold"]
pub struct RAFL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Receive FIFO Almost Full Threshold"]
pub mod rafl;
#[doc = "Transmit FIFO Section Empty Threshold"]
pub struct TSEM {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Transmit FIFO Section Empty Threshold"]
pub mod tsem;
#[doc = "Transmit FIFO Almost Empty Threshold"]
pub struct TAEM {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Transmit FIFO Almost Empty Threshold"]
pub mod taem;
#[doc = "Transmit FIFO Almost Full Threshold"]
pub struct TAFL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Transmit FIFO Almost Full Threshold"]
pub mod tafl;
#[doc = "Transmit Inter-Packet Gap"]
pub struct TIPG {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Transmit Inter-Packet Gap"]
pub mod tipg;
#[doc = "Frame Truncation Length"]
pub struct FTRL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Frame Truncation Length"]
pub mod ftrl;
#[doc = "Transmit Accelerator Function Configuration"]
pub struct TACC {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Transmit Accelerator Function Configuration"]
pub mod tacc;
#[doc = "Receive Accelerator Function Configuration"]
pub struct RACC {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Receive Accelerator Function Configuration"]
pub mod racc;
#[doc = "Tx Packet Count Statistic Register"]
pub struct RMON_T_PACKETS {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Tx Packet Count Statistic Register"]
pub mod rmon_t_packets;
#[doc = "Tx Broadcast Packets Statistic Register"]
pub struct RMON_T_BC_PKT {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Tx Broadcast Packets Statistic Register"]
pub mod rmon_t_bc_pkt;
#[doc = "Tx Multicast Packets Statistic Register"]
pub struct RMON_T_MC_PKT {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Tx Multicast Packets Statistic Register"]
pub mod rmon_t_mc_pkt;
#[doc = "Tx Packets with CRC/Align Error Statistic Register"]
pub struct RMON_T_CRC_ALIGN {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Tx Packets with CRC/Align Error Statistic Register"]
pub mod rmon_t_crc_align;
#[doc = "Tx Packets Less Than Bytes and Good CRC Statistic Register"]
pub struct RMON_T_UNDERSIZE {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Tx Packets Less Than Bytes and Good CRC Statistic Register"]
pub mod rmon_t_undersize;
#[doc = "Tx Packets GT MAX_FL bytes and Good CRC Statistic Register"]
pub struct RMON_T_OVERSIZE {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Tx Packets GT MAX_FL bytes and Good CRC Statistic Register"]
pub mod rmon_t_oversize;
#[doc = "Tx Packets Less Than 64 Bytes and Bad CRC Statistic Register"]
pub struct RMON_T_FRAG {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Tx Packets Less Than 64 Bytes and Bad CRC Statistic Register"]
pub mod rmon_t_frag;
#[doc = "Tx Packets Greater Than MAX_FL bytes and Bad CRC Statistic Register"]
pub struct RMON_T_JAB {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Tx Packets Greater Than MAX_FL bytes and Bad CRC Statistic Register"]
pub mod rmon_t_jab;
#[doc = "Tx Collision Count Statistic Register"]
pub struct RMON_T_COL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Tx Collision Count Statistic Register"]
pub mod rmon_t_col;
#[doc = "Tx 64-Byte Packets Statistic Register"]
pub struct RMON_T_P64 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Tx 64-Byte Packets Statistic Register"]
pub mod rmon_t_p64;
#[doc = "Tx 65- to 127-byte Packets Statistic Register"]
pub struct RMON_T_P65TO127 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Tx 65- to 127-byte Packets Statistic Register"]
pub mod rmon_t_p65to127;
#[doc = "Tx 128- to 255-byte Packets Statistic Register"]
pub struct RMON_T_P128TO255 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Tx 128- to 255-byte Packets Statistic Register"]
pub mod rmon_t_p128to255;
#[doc = "Tx 256- to 511-byte Packets Statistic Register"]
pub struct RMON_T_P256TO511 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Tx 256- to 511-byte Packets Statistic Register"]
pub mod rmon_t_p256to511;
#[doc = "Tx 512- to 1023-byte Packets Statistic Register"]
pub struct RMON_T_P512TO1023 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Tx 512- to 1023-byte Packets Statistic Register"]
pub mod rmon_t_p512to1023;
#[doc = "Tx 1024- to 2047-byte Packets Statistic Register"]
pub struct RMON_T_P1024TO2047 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Tx 1024- to 2047-byte Packets Statistic Register"]
pub mod rmon_t_p1024to2047;
#[doc = "Tx Packets Greater Than 2048 Bytes Statistic Register"]
pub struct RMON_T_P_GTE2048 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Tx Packets Greater Than 2048 Bytes Statistic Register"]
pub mod rmon_t_p_gte2048;
#[doc = "Tx Octets Statistic Register"]
pub struct RMON_T_OCTETS {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Tx Octets Statistic Register"]
pub mod rmon_t_octets;
#[doc = "Frames Transmitted OK Statistic Register"]
pub struct IEEE_T_FRAME_OK {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Frames Transmitted OK Statistic Register"]
pub mod ieee_t_frame_ok;
#[doc = "Frames Transmitted with Single Collision Statistic Register"]
pub struct IEEE_T_1COL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Frames Transmitted with Single Collision Statistic Register"]
pub mod ieee_t_1col;
#[doc = "Frames Transmitted with Multiple Collisions Statistic Register"]
pub struct IEEE_T_MCOL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Frames Transmitted with Multiple Collisions Statistic Register"]
pub mod ieee_t_mcol;
#[doc = "Frames Transmitted after Deferral Delay Statistic Register"]
pub struct IEEE_T_DEF {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Frames Transmitted after Deferral Delay Statistic Register"]
pub mod ieee_t_def;
#[doc = "Frames Transmitted with Late Collision Statistic Register"]
pub struct IEEE_T_LCOL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Frames Transmitted with Late Collision Statistic Register"]
pub mod ieee_t_lcol;
#[doc = "Frames Transmitted with Excessive Collisions Statistic Register"]
pub struct IEEE_T_EXCOL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Frames Transmitted with Excessive Collisions Statistic Register"]
pub mod ieee_t_excol;
#[doc = "Frames Transmitted with Tx FIFO Underrun Statistic Register"]
pub struct IEEE_T_MACERR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Frames Transmitted with Tx FIFO Underrun Statistic Register"]
pub mod ieee_t_macerr;
#[doc = "Frames Transmitted with Carrier Sense Error Statistic Register"]
pub struct IEEE_T_CSERR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Frames Transmitted with Carrier Sense Error Statistic Register"]
pub mod ieee_t_cserr;
#[doc = "Flow Control Pause Frames Transmitted Statistic Register"]
pub struct IEEE_T_FDXFC {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Flow Control Pause Frames Transmitted Statistic Register"]
pub mod ieee_t_fdxfc;
#[doc = "Octet Count for Frames Transmitted w/o Error Statistic Register"]
pub struct IEEE_T_OCTETS_OK {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Octet Count for Frames Transmitted w/o Error Statistic Register"]
pub mod ieee_t_octets_ok;
#[doc = "Rx Packet Count Statistic Register"]
pub struct RMON_R_PACKETS {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Rx Packet Count Statistic Register"]
pub mod rmon_r_packets;
#[doc = "Rx Broadcast Packets Statistic Register"]
pub struct RMON_R_BC_PKT {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Rx Broadcast Packets Statistic Register"]
pub mod rmon_r_bc_pkt;
#[doc = "Rx Multicast Packets Statistic Register"]
pub struct RMON_R_MC_PKT {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Rx Multicast Packets Statistic Register"]
pub mod rmon_r_mc_pkt;
#[doc = "Rx Packets with CRC/Align Error Statistic Register"]
pub struct RMON_R_CRC_ALIGN {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Rx Packets with CRC/Align Error Statistic Register"]
pub mod rmon_r_crc_align;
#[doc = "Rx Packets with Less Than 64 Bytes and Good CRC Statistic Register"]
pub struct RMON_R_UNDERSIZE {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Rx Packets with Less Than 64 Bytes and Good CRC Statistic Register"]
pub mod rmon_r_undersize;
#[doc = "Rx Packets Greater Than MAX_FL and Good CRC Statistic Register"]
pub struct RMON_R_OVERSIZE {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Rx Packets Greater Than MAX_FL and Good CRC Statistic Register"]
pub mod rmon_r_oversize;
#[doc = "Rx Packets Less Than 64 Bytes and Bad CRC Statistic Register"]
pub struct RMON_R_FRAG {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Rx Packets Less Than 64 Bytes and Bad CRC Statistic Register"]
pub mod rmon_r_frag;
#[doc = "Rx Packets Greater Than MAX_FL Bytes and Bad CRC Statistic Register"]
pub struct RMON_R_JAB {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Rx Packets Greater Than MAX_FL Bytes and Bad CRC Statistic Register"]
pub mod rmon_r_jab;
#[doc = "Rx 64-Byte Packets Statistic Register"]
pub struct RMON_R_P64 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Rx 64-Byte Packets Statistic Register"]
pub mod rmon_r_p64;
#[doc = "Rx 65- to 127-Byte Packets Statistic Register"]
pub struct RMON_R_P65TO127 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Rx 65- to 127-Byte Packets Statistic Register"]
pub mod rmon_r_p65to127;
#[doc = "Rx 128- to 255-Byte Packets Statistic Register"]
pub struct RMON_R_P128TO255 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Rx 128- to 255-Byte Packets Statistic Register"]
pub mod rmon_r_p128to255;
#[doc = "Rx 256- to 511-Byte Packets Statistic Register"]
pub struct RMON_R_P256TO511 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Rx 256- to 511-Byte Packets Statistic Register"]
pub mod rmon_r_p256to511;
#[doc = "Rx 512- to 1023-Byte Packets Statistic Register"]
pub struct RMON_R_P512TO1023 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Rx 512- to 1023-Byte Packets Statistic Register"]
pub mod rmon_r_p512to1023;
#[doc = "Rx 1024- to 2047-Byte Packets Statistic Register"]
pub struct RMON_R_P1024TO2047 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Rx 1024- to 2047-Byte Packets Statistic Register"]
pub mod rmon_r_p1024to2047;
#[doc = "Rx Packets Greater than 2048 Bytes Statistic Register"]
pub struct RMON_R_P_GTE2048 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Rx Packets Greater than 2048 Bytes Statistic Register"]
pub mod rmon_r_p_gte2048;
#[doc = "Rx Octets Statistic Register"]
pub struct RMON_R_OCTETS {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Rx Octets Statistic Register"]
pub mod rmon_r_octets;
#[doc = "Frames not Counted Correctly Statistic Register"]
pub struct IEEE_R_DROP {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Frames not Counted Correctly Statistic Register"]
pub mod ieee_r_drop;
#[doc = "Frames Received OK Statistic Register"]
pub struct IEEE_R_FRAME_OK {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Frames Received OK Statistic Register"]
pub mod ieee_r_frame_ok;
#[doc = "Frames Received with CRC Error Statistic Register"]
pub struct IEEE_R_CRC {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Frames Received with CRC Error Statistic Register"]
pub mod ieee_r_crc;
#[doc = "Frames Received with Alignment Error Statistic Register"]
pub struct IEEE_R_ALIGN {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Frames Received with Alignment Error Statistic Register"]
pub mod ieee_r_align;
#[doc = "Receive FIFO Overflow Count Statistic Register"]
pub struct IEEE_R_MACERR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Receive FIFO Overflow Count Statistic Register"]
pub mod ieee_r_macerr;
#[doc = "Flow Control Pause Frames Received Statistic Register"]
pub struct IEEE_R_FDXFC {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Flow Control Pause Frames Received Statistic Register"]
pub mod ieee_r_fdxfc;
#[doc = "Octet Count for Frames Received without Error Statistic Register"]
pub struct IEEE_R_OCTETS_OK {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Octet Count for Frames Received without Error Statistic Register"]
pub mod ieee_r_octets_ok;
#[doc = "Adjustable Timer Control Register"]
pub struct ATCR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Adjustable Timer Control Register"]
pub mod atcr;
#[doc = "Timer Value Register"]
pub struct ATVR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Timer Value Register"]
pub mod atvr;
#[doc = "Timer Offset Register"]
pub struct ATOFF {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Timer Offset Register"]
pub mod atoff;
#[doc = "Timer Period Register"]
pub struct ATPER {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Timer Period Register"]
pub mod atper;
#[doc = "Timer Correction Register"]
pub struct ATCOR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Timer Correction Register"]
pub mod atcor;
#[doc = "Time-Stamping Clock Period Register"]
pub struct ATINC {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Time-Stamping Clock Period Register"]
pub mod atinc;
#[doc = "Timestamp of Last Transmitted Frame"]
pub struct ATSTMP {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Timestamp of Last Transmitted Frame"]
pub mod atstmp;
#[doc = "Timer Global Status Register"]
pub struct TGSR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Timer Global Status Register"]
pub mod tgsr;
#[doc = "Timer Control Status Register"]
pub struct TCSR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Timer Control Status Register"]
pub mod tcsr;
#[doc = "Timer Compare Capture Register"]
pub struct TCCR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Timer Compare Capture Register"]
pub mod tccr;