imxrt_ral/blocks/imxrt1011/
ocotp.rs

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
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
#[doc = "no description available"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "OTP Controller Control Register"]
    pub CTRL: crate::RWRegister<u32>,
    #[doc = "OTP Controller Control Register"]
    pub CTRL_SET: crate::RWRegister<u32>,
    #[doc = "OTP Controller Control Register"]
    pub CTRL_CLR: crate::RWRegister<u32>,
    #[doc = "OTP Controller Control Register"]
    pub CTRL_TOG: crate::RWRegister<u32>,
    #[doc = "OTP Controller Timing Register"]
    pub TIMING: crate::RWRegister<u32>,
    _reserved0: [u8; 0x0c],
    #[doc = "OTP Controller Write Data Register"]
    pub DATA: crate::RWRegister<u32>,
    _reserved1: [u8; 0x0c],
    #[doc = "OTP Controller Write Data Register"]
    pub READ_CTRL: crate::RWRegister<u32>,
    _reserved2: [u8; 0x0c],
    #[doc = "OTP Controller Read Data Register"]
    pub READ_FUSE_DATA: crate::RWRegister<u32>,
    _reserved3: [u8; 0x0c],
    #[doc = "Sticky bit Register"]
    pub SW_STICKY: crate::RWRegister<u32>,
    _reserved4: [u8; 0x0c],
    #[doc = "Software Controllable Signals Register"]
    pub SCS: crate::RWRegister<u32>,
    #[doc = "Software Controllable Signals Register"]
    pub SCS_SET: crate::RWRegister<u32>,
    #[doc = "Software Controllable Signals Register"]
    pub SCS_CLR: crate::RWRegister<u32>,
    #[doc = "Software Controllable Signals Register"]
    pub SCS_TOG: crate::RWRegister<u32>,
    _reserved5: [u8; 0x20],
    #[doc = "OTP Controller Version Register"]
    pub VERSION: crate::RORegister<u32>,
    _reserved6: [u8; 0x6c],
    #[doc = "OTP Controller Timing Register 2"]
    pub TIMING2: crate::RWRegister<u32>,
    _reserved7: [u8; 0x02fc],
    #[doc = "Value of OTP Bank0 Word0 (Lock controls)"]
    pub LOCK: crate::RWRegister<u32>,
    _reserved8: [u8; 0x0c],
    #[doc = "Value of OTP Bank0 Word1 (Configuration and Manufacturing Info.)"]
    pub CFG0: crate::RWRegister<u32>,
    _reserved9: [u8; 0x0c],
    #[doc = "Value of OTP Bank0 Word2 (Configuration and Manufacturing Info.)"]
    pub CFG1: crate::RWRegister<u32>,
    _reserved10: [u8; 0x0c],
    #[doc = "Value of OTP Bank0 Word3 (Configuration and Manufacturing Info.)"]
    pub CFG2: crate::RWRegister<u32>,
    _reserved11: [u8; 0x0c],
    #[doc = "Value of OTP Bank0 Word4 (Configuration and Manufacturing Info.)"]
    pub CFG3: crate::RWRegister<u32>,
    _reserved12: [u8; 0x0c],
    #[doc = "Value of OTP Bank0 Word5 (Configuration and Manufacturing Info.)"]
    pub CFG4: crate::RWRegister<u32>,
    _reserved13: [u8; 0x0c],
    #[doc = "Value of OTP Bank0 Word6 (Configuration and Manufacturing Info.)"]
    pub CFG5: crate::RWRegister<u32>,
    _reserved14: [u8; 0x0c],
    #[doc = "Value of OTP Bank0 Word7 (Configuration and Manufacturing Info.)"]
    pub CFG6: crate::RWRegister<u32>,
    _reserved15: [u8; 0x0c],
    #[doc = "Value of OTP Bank1 Word0 (Memory Related Info.)"]
    pub MEM0: crate::RWRegister<u32>,
    _reserved16: [u8; 0x0c],
    #[doc = "Value of OTP Bank1 Word1 (Memory Related Info.)"]
    pub MEM1: crate::RWRegister<u32>,
    _reserved17: [u8; 0x0c],
    #[doc = "Value of OTP Bank1 Word2 (Memory Related Info.)"]
    pub MEM2: crate::RWRegister<u32>,
    _reserved18: [u8; 0x0c],
    #[doc = "Value of OTP Bank1 Word3 (Memory Related Info.)"]
    pub MEM3: crate::RWRegister<u32>,
    _reserved19: [u8; 0x0c],
    #[doc = "Value of OTP Bank1 Word4 (Memory Related Info.)"]
    pub MEM4: crate::RWRegister<u32>,
    _reserved20: [u8; 0x0c],
    #[doc = "Value of OTP Bank1 Word5 (Analog Info.)"]
    pub ANA0: crate::RWRegister<u32>,
    _reserved21: [u8; 0x0c],
    #[doc = "Value of OTP Bank1 Word6 (Analog Info.)"]
    pub ANA1: crate::RWRegister<u32>,
    _reserved22: [u8; 0x0c],
    #[doc = "Value of OTP Bank1 Word7 (Analog Info.)"]
    pub ANA2: crate::RWRegister<u32>,
    _reserved23: [u8; 0x8c],
    #[doc = "Shadow Register for OTP Bank3 Word0 (SRK Hash)"]
    pub SRK0: crate::RWRegister<u32>,
    _reserved24: [u8; 0x0c],
    #[doc = "Shadow Register for OTP Bank3 Word1 (SRK Hash)"]
    pub SRK1: crate::RWRegister<u32>,
    _reserved25: [u8; 0x0c],
    #[doc = "Shadow Register for OTP Bank3 Word2 (SRK Hash)"]
    pub SRK2: crate::RWRegister<u32>,
    _reserved26: [u8; 0x0c],
    #[doc = "Shadow Register for OTP Bank3 Word3 (SRK Hash)"]
    pub SRK3: crate::RWRegister<u32>,
    _reserved27: [u8; 0x0c],
    #[doc = "Shadow Register for OTP Bank3 Word4 (SRK Hash)"]
    pub SRK4: crate::RWRegister<u32>,
    _reserved28: [u8; 0x0c],
    #[doc = "Shadow Register for OTP Bank3 Word5 (SRK Hash)"]
    pub SRK5: crate::RWRegister<u32>,
    _reserved29: [u8; 0x0c],
    #[doc = "Shadow Register for OTP Bank3 Word6 (SRK Hash)"]
    pub SRK6: crate::RWRegister<u32>,
    _reserved30: [u8; 0x0c],
    #[doc = "Shadow Register for OTP Bank3 Word7 (SRK Hash)"]
    pub SRK7: crate::RWRegister<u32>,
    _reserved31: [u8; 0x0c],
    #[doc = "Value of OTP Bank4 Word0 (Secure JTAG Response Field)"]
    pub SJC_RESP0: crate::RWRegister<u32>,
    _reserved32: [u8; 0x0c],
    #[doc = "Value of OTP Bank4 Word1 (Secure JTAG Response Field)"]
    pub SJC_RESP1: crate::RWRegister<u32>,
    _reserved33: [u8; 0x0c],
    #[doc = "Value of OTP Bank4 Word2 (MAC Address)"]
    pub MAC0: crate::RWRegister<u32>,
    _reserved34: [u8; 0x0c],
    #[doc = "Value of OTP Bank4 Word3 (MAC Address)"]
    pub MAC1: crate::RWRegister<u32>,
    _reserved35: [u8; 0x0c],
    #[doc = "Value of OTP Bank4 Word4 (MAC Address)"]
    pub GP3: crate::RWRegister<u32>,
    _reserved36: [u8; 0x1c],
    #[doc = "Value of OTP Bank4 Word6 (General Purpose Customer Defined Info)"]
    pub GP1: crate::RWRegister<u32>,
    _reserved37: [u8; 0x0c],
    #[doc = "Value of OTP Bank4 Word7 (General Purpose Customer Defined Info)"]
    pub GP2: crate::RWRegister<u32>,
    _reserved38: [u8; 0x0c],
    #[doc = "Value of OTP Bank5 Word0 (SW GP1)"]
    pub SW_GP1: crate::RWRegister<u32>,
    _reserved39: [u8; 0x0c],
    #[doc = "Value of OTP Bank5 Word1 (SW GP2)"]
    pub SW_GP20: crate::RWRegister<u32>,
    _reserved40: [u8; 0x0c],
    #[doc = "Value of OTP Bank5 Word2 (SW GP2)"]
    pub SW_GP21: crate::RWRegister<u32>,
    _reserved41: [u8; 0x0c],
    #[doc = "Value of OTP Bank5 Word3 (SW GP2)"]
    pub SW_GP22: crate::RWRegister<u32>,
    _reserved42: [u8; 0x0c],
    #[doc = "Value of OTP Bank5 Word4 (SW GP2)"]
    pub SW_GP23: crate::RWRegister<u32>,
    _reserved43: [u8; 0x0c],
    #[doc = "Value of OTP Bank5 Word5 (Misc Conf)"]
    pub MISC_CONF0: crate::RWRegister<u32>,
    _reserved44: [u8; 0x0c],
    #[doc = "Value of OTP Bank5 Word6 (Misc Conf)"]
    pub MISC_CONF1: crate::RWRegister<u32>,
    _reserved45: [u8; 0x0c],
    #[doc = "Value of OTP Bank5 Word7 (SRK Revoke)"]
    pub SRK_REVOKE: crate::RWRegister<u32>,
}
#[doc = "OTP Controller Control Register"]
pub mod CTRL {
    #[doc = "OTP write and read access address register"]
    pub mod ADDR {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0x3f << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "OTP controller status bit"]
    pub mod BUSY {
        pub const offset: u32 = 8;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Set by the controller when an access to a locked region(OTP or shadow register) is requested"]
    pub mod ERROR {
        pub const offset: u32 = 9;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Set to force re-loading the shadow registers (HW/SW capability and LOCK)"]
    pub mod RELOAD_SHADOWS {
        pub const offset: u32 = 10;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Write 0x3E77 to enable OTP write accesses"]
    pub mod WR_UNLOCK {
        pub const offset: u32 = 16;
        pub const mask: u32 = 0xffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "OTP Controller Control Register"]
pub mod CTRL_SET {
    #[doc = "OTP write and read access address register"]
    pub mod ADDR {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0x3f << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "OTP controller status bit"]
    pub mod BUSY {
        pub const offset: u32 = 8;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Set by the controller when an access to a locked region(OTP or shadow register) is requested"]
    pub mod ERROR {
        pub const offset: u32 = 9;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Set to force re-loading the shadow registers (HW/SW capability and LOCK)"]
    pub mod RELOAD_SHADOWS {
        pub const offset: u32 = 10;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Write 0x3E77 to enable OTP write accesses"]
    pub mod WR_UNLOCK {
        pub const offset: u32 = 16;
        pub const mask: u32 = 0xffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "OTP Controller Control Register"]
pub mod CTRL_CLR {
    #[doc = "OTP write and read access address register"]
    pub mod ADDR {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0x3f << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "OTP controller status bit"]
    pub mod BUSY {
        pub const offset: u32 = 8;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Set by the controller when an access to a locked region(OTP or shadow register) is requested"]
    pub mod ERROR {
        pub const offset: u32 = 9;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Set to force re-loading the shadow registers (HW/SW capability and LOCK)"]
    pub mod RELOAD_SHADOWS {
        pub const offset: u32 = 10;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Write 0x3E77 to enable OTP write accesses"]
    pub mod WR_UNLOCK {
        pub const offset: u32 = 16;
        pub const mask: u32 = 0xffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "OTP Controller Control Register"]
pub mod CTRL_TOG {
    #[doc = "OTP write and read access address register"]
    pub mod ADDR {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0x3f << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "OTP controller status bit"]
    pub mod BUSY {
        pub const offset: u32 = 8;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Set by the controller when an access to a locked region(OTP or shadow register) is requested"]
    pub mod ERROR {
        pub const offset: u32 = 9;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Set to force re-loading the shadow registers (HW/SW capability and LOCK)"]
    pub mod RELOAD_SHADOWS {
        pub const offset: u32 = 10;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Write 0x3E77 to enable OTP write accesses"]
    pub mod WR_UNLOCK {
        pub const offset: u32 = 16;
        pub const mask: u32 = 0xffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "OTP Controller Timing Register"]
pub mod TIMING {
    #[doc = "This count value specifies the strobe period in one time write OTP"]
    pub mod STROBE_PROG {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0x0fff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "This count value specifies the time to add to all default timing parameters other than the Tpgm and Trd"]
    pub mod RELAX {
        pub const offset: u32 = 12;
        pub const mask: u32 = 0x0f << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "This count value specifies the strobe period in one time read OTP"]
    pub mod STROBE_READ {
        pub const offset: u32 = 16;
        pub const mask: u32 = 0x3f << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "This count value specifies time interval between auto read and write access in one time program"]
    pub mod WAIT {
        pub const offset: u32 = 22;
        pub const mask: u32 = 0x3f << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "OTP Controller Write Data Register"]
pub mod DATA {
    #[doc = "Used to initiate a write to OTP"]
    pub mod DATA {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "OTP Controller Write Data Register"]
pub mod READ_CTRL {
    #[doc = "Used to initiate a read to OTP"]
    pub mod READ_FUSE {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "OTP Controller Read Data Register"]
pub mod READ_FUSE_DATA {
    #[doc = "The data read from OTP"]
    pub mod DATA {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Sticky bit Register"]
pub mod SW_STICKY {
    #[doc = "Shadow register write and OTP write lock for SRK_REVOKE region"]
    pub mod SRK_REVOKE_LOCK {
        pub const offset: u32 = 1;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Shadow register write and OTP write lock for FIELD_RETURN region"]
    pub mod FIELD_RETURN_LOCK {
        pub const offset: u32 = 2;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Software Controllable Signals Register"]
pub mod SCS {
    #[doc = "HAB JTAG Debug Enable"]
    pub mod HAB_JDE {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Unallocated read/write bits for implementation specific software use."]
    pub mod SPARE {
        pub const offset: u32 = 1;
        pub const mask: u32 = 0x3fff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "When set, all of the bits in this register are locked and can not be changed through SW programming"]
    pub mod LOCK {
        pub const offset: u32 = 31;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Software Controllable Signals Register"]
pub mod SCS_SET {
    #[doc = "HAB JTAG Debug Enable"]
    pub mod HAB_JDE {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Unallocated read/write bits for implementation specific software use."]
    pub mod SPARE {
        pub const offset: u32 = 1;
        pub const mask: u32 = 0x3fff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "When set, all of the bits in this register are locked and can not be changed through SW programming"]
    pub mod LOCK {
        pub const offset: u32 = 31;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Software Controllable Signals Register"]
pub mod SCS_CLR {
    #[doc = "HAB JTAG Debug Enable"]
    pub mod HAB_JDE {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Unallocated read/write bits for implementation specific software use."]
    pub mod SPARE {
        pub const offset: u32 = 1;
        pub const mask: u32 = 0x3fff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "When set, all of the bits in this register are locked and can not be changed through SW programming"]
    pub mod LOCK {
        pub const offset: u32 = 31;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Software Controllable Signals Register"]
pub mod SCS_TOG {
    #[doc = "HAB JTAG Debug Enable"]
    pub mod HAB_JDE {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Unallocated read/write bits for implementation specific software use."]
    pub mod SPARE {
        pub const offset: u32 = 1;
        pub const mask: u32 = 0x3fff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "When set, all of the bits in this register are locked and can not be changed through SW programming"]
    pub mod LOCK {
        pub const offset: u32 = 31;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "OTP Controller Version Register"]
pub mod VERSION {
    #[doc = "Fixed read-only value reflecting the stepping of the RTL version."]
    pub mod STEP {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Fixed read-only value reflecting the MINOR field of the RTL version."]
    pub mod MINOR {
        pub const offset: u32 = 16;
        pub const mask: u32 = 0xff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Fixed read-only value reflecting the MAJOR field of the RTL version."]
    pub mod MAJOR {
        pub const offset: u32 = 24;
        pub const mask: u32 = 0xff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "OTP Controller Timing Register 2"]
pub mod TIMING2 {
    #[doc = "This count value specifies the strobe period in one time write OTP"]
    pub mod RELAX_PROG {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0x0fff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "This count value specifies the strobe period in one time read OTP"]
    pub mod RELAX_READ {
        pub const offset: u32 = 16;
        pub const mask: u32 = 0x3f << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "This count value specifies time interval between auto read and write access in one time program"]
    pub mod RELAX1 {
        pub const offset: u32 = 22;
        pub const mask: u32 = 0xff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank0 Word0 (Lock controls)"]
pub mod LOCK {
    #[doc = "Status of shadow register and OTP write lock for tester region"]
    pub mod TESTER {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0x03 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Status of shadow register and OTP write lock for boot_cfg region"]
    pub mod BOOT_CFG {
        pub const offset: u32 = 2;
        pub const mask: u32 = 0x03 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Status of shadow register and OTP write lock for mem_trim region"]
    pub mod MEM_TRIM {
        pub const offset: u32 = 4;
        pub const mask: u32 = 0x03 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Status of shadow register read and write, OTP read and write lock for sjc_resp region"]
    pub mod SJC_RESP {
        pub const offset: u32 = 6;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Status of shadow register and OTP write lock for mac_addr region"]
    pub mod MAC_ADDR {
        pub const offset: u32 = 8;
        pub const mask: u32 = 0x03 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Status of shadow register and OTP write lock for gp1 region"]
    pub mod GP1 {
        pub const offset: u32 = 10;
        pub const mask: u32 = 0x03 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Status of shadow register and OTP write lock for gp2 region"]
    pub mod GP2 {
        pub const offset: u32 = 12;
        pub const mask: u32 = 0x03 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Status of shadow register read and write, OTP read and write lock for otpmk region (MSB)"]
    pub mod OTPMK_MSB {
        pub const offset: u32 = 15;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Status of shadow register and OTP write lock for sw_gp1 region"]
    pub mod SW_GP1 {
        pub const offset: u32 = 16;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Status of shadow register read and write, OTP read and write lock for otpmk region (LSB)"]
    pub mod OTPMK_LSB {
        pub const offset: u32 = 17;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Status of shadow register and OTP write lock for analog region"]
    pub mod ANALOG {
        pub const offset: u32 = 18;
        pub const mask: u32 = 0x03 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Status of shadow register and OTP write lock for otpmk_crc region"]
    pub mod OTPMK_CRC {
        pub const offset: u32 = 20;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Status of shadow register and OTP write lock for sw_gp2 region"]
    pub mod SW_GP2_LOCK {
        pub const offset: u32 = 21;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Status of shadow register and OTP write lock for misc_conf region"]
    pub mod MISC_CONF {
        pub const offset: u32 = 22;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Status of shadow register and OTP read lock for sw_gp2 region"]
    pub mod SW_GP2_RLOCK {
        pub const offset: u32 = 23;
        pub const mask: u32 = 0x01 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Status of shadow register and OTP write lock for gp3 region"]
    pub mod GP3 {
        pub const offset: u32 = 26;
        pub const mask: u32 = 0x03 << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
    #[doc = "Reserved"]
    pub mod FIELD_RETURN {
        pub const offset: u32 = 28;
        pub const mask: u32 = 0x0f << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank0 Word1 (Configuration and Manufacturing Info.)"]
pub mod CFG0 {
    #[doc = "This register contains 32 bits of the Unique ID and SJC_CHALLENGE field"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank0 Word2 (Configuration and Manufacturing Info.)"]
pub mod CFG1 {
    #[doc = "This register contains 32 bits of the Unique ID and SJC_CHALLENGE field"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank0 Word3 (Configuration and Manufacturing Info.)"]
pub mod CFG2 {
    #[doc = "Reflects value of OTP Bank 0, word 3 (ADDR = 0x03)"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank0 Word4 (Configuration and Manufacturing Info.)"]
pub mod CFG3 {
    #[doc = "Reflects value of OTP Bank 0, word 4 (ADDR = 0x04)"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank0 Word5 (Configuration and Manufacturing Info.)"]
pub mod CFG4 {
    #[doc = "Reflects value of OTP Bank 0, word 5 (ADDR = 0x05)"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank0 Word6 (Configuration and Manufacturing Info.)"]
pub mod CFG5 {
    #[doc = "Reflects value of OTP Bank 0, word 6 (ADDR = 0x06)"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank0 Word7 (Configuration and Manufacturing Info.)"]
pub mod CFG6 {
    #[doc = "Reflects value of OTP Bank 0, word 7 (ADDR = 0x07)"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank1 Word0 (Memory Related Info.)"]
pub mod MEM0 {
    #[doc = "Reflects value of OTP bank 1, word 0 (ADDR = 0x08)"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank1 Word1 (Memory Related Info.)"]
pub mod MEM1 {
    #[doc = "Reflects value of OTP bank 1, word 1 (ADDR = 0x09)"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank1 Word2 (Memory Related Info.)"]
pub mod MEM2 {
    #[doc = "Reflects value of OTP bank 1, word 2 (ADDR = 0x0A)"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank1 Word3 (Memory Related Info.)"]
pub mod MEM3 {
    #[doc = "Reflects value of OTP bank 1, word 3 (ADDR = 0x0B)"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank1 Word4 (Memory Related Info.)"]
pub mod MEM4 {
    #[doc = "Reflects value of OTP bank 1, word 4 (ADDR = 0x0C)"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank1 Word5 (Analog Info.)"]
pub mod ANA0 {
    #[doc = "Reflects value of OTP bank 1, word 5 (ADDR = 0x0D)"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank1 Word6 (Analog Info.)"]
pub mod ANA1 {
    #[doc = "Reflects value of OTP bank 1, word 6 (ADDR = 0x0E)"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank1 Word7 (Analog Info.)"]
pub mod ANA2 {
    #[doc = "Reflects value of OTP bank 1, word 7 (ADDR = 0x0F)"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Shadow Register for OTP Bank3 Word0 (SRK Hash)"]
pub mod SRK0 {
    #[doc = "Shadow register for the hash of the Super Root Key word0 (Copy of OTP Bank 3, word 0 (ADDR = 0x1C))"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Shadow Register for OTP Bank3 Word1 (SRK Hash)"]
pub mod SRK1 {
    #[doc = "Shadow register for the hash of the Super Root Key word1 (Copy of OTP Bank 3, word 1 (ADDR = 0x1D))"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Shadow Register for OTP Bank3 Word2 (SRK Hash)"]
pub mod SRK2 {
    #[doc = "Shadow register for the hash of the Super Root Key word2 (Copy of OTP Bank 3, word 2 (ADDR = 0x1E))"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Shadow Register for OTP Bank3 Word3 (SRK Hash)"]
pub mod SRK3 {
    #[doc = "Shadow register for the hash of the Super Root Key word3 (Copy of OTP Bank 3, word 3 (ADDR = 0x1F))"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Shadow Register for OTP Bank3 Word4 (SRK Hash)"]
pub mod SRK4 {
    #[doc = "Shadow register for the hash of the Super Root Key word4 (Copy of OTP Bank 3, word 4 (ADDR = 0x20))"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Shadow Register for OTP Bank3 Word5 (SRK Hash)"]
pub mod SRK5 {
    #[doc = "Shadow register for the hash of the Super Root Key word5 (Copy of OTP Bank 3, word 5 (ADDR = 0x21))"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Shadow Register for OTP Bank3 Word6 (SRK Hash)"]
pub mod SRK6 {
    #[doc = "Shadow register for the hash of the Super Root Key word6 (Copy of OTP Bank 3, word 6 (ADDR = 0x22))"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Shadow Register for OTP Bank3 Word7 (SRK Hash)"]
pub mod SRK7 {
    #[doc = "Shadow register for the hash of the Super Root Key word7 (Copy of OTP Bank 3, word 7 (ADDR = 0x23))"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank4 Word0 (Secure JTAG Response Field)"]
pub mod SJC_RESP0 {
    #[doc = "Shadow register for the SJC_RESP Key word0 (Copy of OTP Bank 4, word 0 (ADDR = 0x20))"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank4 Word1 (Secure JTAG Response Field)"]
pub mod SJC_RESP1 {
    #[doc = "Shadow register for the SJC_RESP Key word1 (Copy of OTP Bank 4, word 1 (ADDR = 0x21))"]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank4 Word2 (MAC Address)"]
pub mod MAC0 {
    #[doc = "Reflects value of OTP Bank 4, word 2 (ADDR = 0x22)."]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank4 Word3 (MAC Address)"]
pub mod MAC1 {
    #[doc = "Reflects value of OTP Bank 4, word 3 (ADDR = 0x23)."]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank4 Word4 (MAC Address)"]
pub mod GP3 {
    #[doc = "Reflects value of OTP Bank 4, word 4 (ADDR = 0x24)."]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank4 Word6 (General Purpose Customer Defined Info)"]
pub mod GP1 {
    #[doc = "Reflects value of OTP Bank 4, word 6 (ADDR = 0x26)."]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank4 Word7 (General Purpose Customer Defined Info)"]
pub mod GP2 {
    #[doc = "Reflects value of OTP Bank 4, word 7 (ADDR = 0x27)."]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank5 Word0 (SW GP1)"]
pub mod SW_GP1 {
    #[doc = "Reflects value of OTP Bank 5, word 0 (ADDR = 0x28)."]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank5 Word1 (SW GP2)"]
pub mod SW_GP20 {
    #[doc = "Reflects value of OTP Bank 5, word 1 (ADDR = 0x29)."]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank5 Word2 (SW GP2)"]
pub mod SW_GP21 {
    #[doc = "Reflects value of OTP Bank 5, word 2 (ADDR = 0x2a)."]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank5 Word3 (SW GP2)"]
pub mod SW_GP22 {
    #[doc = "Reflects value of OTP Bank 5, word 3 (ADDR = 0x2b)."]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank5 Word4 (SW GP2)"]
pub mod SW_GP23 {
    #[doc = "Reflects value of OTP Bank 5, word 4 (ADDR = 0x2c)."]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank5 Word5 (Misc Conf)"]
pub mod MISC_CONF0 {
    #[doc = "Reflects value of OTP Bank 5, word 5 (ADDR = 0x2d)."]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank5 Word6 (Misc Conf)"]
pub mod MISC_CONF1 {
    #[doc = "Reflects value of OTP Bank 5, word 6 (ADDR = 0x2e)."]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}
#[doc = "Value of OTP Bank5 Word7 (SRK Revoke)"]
pub mod SRK_REVOKE {
    #[doc = "Reflects value of OTP Bank 5, word 7 (ADDR = 0x2f)."]
    pub mod BITS {
        pub const offset: u32 = 0;
        pub const mask: u32 = 0xffff_ffff << offset;
        pub mod R {}
        pub mod W {}
        pub mod RW {}
    }
}