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
#[doc = r" Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - control register"]
    pub cr: CR,
    #[doc = "0x04 - data input register"]
    pub din: DIN,
    #[doc = "0x08 - start register"]
    pub str: STR,
    #[doc = "0x0c - digest registers"]
    pub hr0: HR0,
    #[doc = "0x10 - digest registers"]
    pub hr1: HR1,
    #[doc = "0x14 - digest registers"]
    pub hr2: HR2,
    #[doc = "0x18 - digest registers"]
    pub hr3: HR3,
    #[doc = "0x1c - digest registers"]
    pub hr4: HR4,
    #[doc = "0x20 - interrupt enable register"]
    pub imr: IMR,
    #[doc = "0x24 - status register"]
    pub sr: SR,
    _reserved0: [u8; 208usize],
    #[doc = "0xf8 - context swap registers"]
    pub csr0: CSR0,
    #[doc = "0xfc - context swap registers"]
    pub csr1: CSR1,
    #[doc = "0x100 - context swap registers"]
    pub csr2: CSR2,
    #[doc = "0x104 - context swap registers"]
    pub csr3: CSR3,
    #[doc = "0x108 - context swap registers"]
    pub csr4: CSR4,
    #[doc = "0x10c - context swap registers"]
    pub csr5: CSR5,
    #[doc = "0x110 - context swap registers"]
    pub csr6: CSR6,
    #[doc = "0x114 - context swap registers"]
    pub csr7: CSR7,
    #[doc = "0x118 - context swap registers"]
    pub csr8: CSR8,
    #[doc = "0x11c - context swap registers"]
    pub csr9: CSR9,
    #[doc = "0x120 - context swap registers"]
    pub csr10: CSR10,
    #[doc = "0x124 - context swap registers"]
    pub csr11: CSR11,
    #[doc = "0x128 - context swap registers"]
    pub csr12: CSR12,
    #[doc = "0x12c - context swap registers"]
    pub csr13: CSR13,
    #[doc = "0x130 - context swap registers"]
    pub csr14: CSR14,
    #[doc = "0x134 - context swap registers"]
    pub csr15: CSR15,
    #[doc = "0x138 - context swap registers"]
    pub csr16: CSR16,
    #[doc = "0x13c - context swap registers"]
    pub csr17: CSR17,
    #[doc = "0x140 - context swap registers"]
    pub csr18: CSR18,
    #[doc = "0x144 - context swap registers"]
    pub csr19: CSR19,
    #[doc = "0x148 - context swap registers"]
    pub csr20: CSR20,
    #[doc = "0x14c - context swap registers"]
    pub csr21: CSR21,
    #[doc = "0x150 - context swap registers"]
    pub csr22: CSR22,
    #[doc = "0x154 - context swap registers"]
    pub csr23: CSR23,
    #[doc = "0x158 - context swap registers"]
    pub csr24: CSR24,
    #[doc = "0x15c - context swap registers"]
    pub csr25: CSR25,
    #[doc = "0x160 - context swap registers"]
    pub csr26: CSR26,
    #[doc = "0x164 - context swap registers"]
    pub csr27: CSR27,
    #[doc = "0x168 - context swap registers"]
    pub csr28: CSR28,
    #[doc = "0x16c - context swap registers"]
    pub csr29: CSR29,
    #[doc = "0x170 - context swap registers"]
    pub csr30: CSR30,
    #[doc = "0x174 - context swap registers"]
    pub csr31: CSR31,
    #[doc = "0x178 - context swap registers"]
    pub csr32: CSR32,
    #[doc = "0x17c - context swap registers"]
    pub csr33: CSR33,
    #[doc = "0x180 - context swap registers"]
    pub csr34: CSR34,
    #[doc = "0x184 - context swap registers"]
    pub csr35: CSR35,
    #[doc = "0x188 - context swap registers"]
    pub csr36: CSR36,
    #[doc = "0x18c - context swap registers"]
    pub csr37: CSR37,
    #[doc = "0x190 - context swap registers"]
    pub csr38: CSR38,
    #[doc = "0x194 - context swap registers"]
    pub csr39: CSR39,
    #[doc = "0x198 - context swap registers"]
    pub csr40: CSR40,
    #[doc = "0x19c - context swap registers"]
    pub csr41: CSR41,
    #[doc = "0x1a0 - context swap registers"]
    pub csr42: CSR42,
    #[doc = "0x1a4 - context swap registers"]
    pub csr43: CSR43,
    #[doc = "0x1a8 - context swap registers"]
    pub csr44: CSR44,
    #[doc = "0x1ac - context swap registers"]
    pub csr45: CSR45,
    #[doc = "0x1b0 - context swap registers"]
    pub csr46: CSR46,
    #[doc = "0x1b4 - context swap registers"]
    pub csr47: CSR47,
    #[doc = "0x1b8 - context swap registers"]
    pub csr48: CSR48,
    #[doc = "0x1bc - context swap registers"]
    pub csr49: CSR49,
    #[doc = "0x1c0 - context swap registers"]
    pub csr50: CSR50,
    #[doc = "0x1c4 - context swap registers"]
    pub csr51: CSR51,
    #[doc = "0x1c8 - context swap registers"]
    pub csr52: CSR52,
    #[doc = "0x1cc - context swap registers"]
    pub csr53: CSR53,
    _reserved1: [u8; 320usize],
    #[doc = "0x310 - HASH digest register"]
    pub hash_hr0: HASH_HR0,
    #[doc = "0x314 - read-only"]
    pub hash_hr1: HASH_HR1,
    #[doc = "0x318 - read-only"]
    pub hash_hr2: HASH_HR2,
    #[doc = "0x31c - read-only"]
    pub hash_hr3: HASH_HR3,
    #[doc = "0x320 - read-only"]
    pub hash_hr4: HASH_HR4,
    #[doc = "0x324 - read-only"]
    pub hash_hr5: HASH_HR5,
    #[doc = "0x328 - read-only"]
    pub hash_hr6: HASH_HR6,
    #[doc = "0x32c - read-only"]
    pub hash_hr7: HASH_HR7,
}
#[doc = "control register"]
pub struct CR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "control register"]
pub mod cr;
#[doc = "data input register"]
pub struct DIN {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "data input register"]
pub mod din;
#[doc = "start register"]
pub struct STR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "start register"]
pub mod str;
#[doc = "digest registers"]
pub struct HR0 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "digest registers"]
pub mod hr0;
#[doc = "digest registers"]
pub struct HR1 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "digest registers"]
pub mod hr1;
#[doc = "digest registers"]
pub struct HR2 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "digest registers"]
pub mod hr2;
#[doc = "digest registers"]
pub struct HR3 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "digest registers"]
pub mod hr3;
#[doc = "digest registers"]
pub struct HR4 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "digest registers"]
pub mod hr4;
#[doc = "interrupt enable register"]
pub struct IMR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "interrupt enable register"]
pub mod imr;
#[doc = "status register"]
pub struct SR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "status register"]
pub mod sr;
#[doc = "context swap registers"]
pub struct CSR0 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr0;
#[doc = "context swap registers"]
pub struct CSR1 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr1;
#[doc = "context swap registers"]
pub struct CSR2 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr2;
#[doc = "context swap registers"]
pub struct CSR3 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr3;
#[doc = "context swap registers"]
pub struct CSR4 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr4;
#[doc = "context swap registers"]
pub struct CSR5 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr5;
#[doc = "context swap registers"]
pub struct CSR6 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr6;
#[doc = "context swap registers"]
pub struct CSR7 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr7;
#[doc = "context swap registers"]
pub struct CSR8 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr8;
#[doc = "context swap registers"]
pub struct CSR9 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr9;
#[doc = "context swap registers"]
pub struct CSR10 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr10;
#[doc = "context swap registers"]
pub struct CSR11 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr11;
#[doc = "context swap registers"]
pub struct CSR12 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr12;
#[doc = "context swap registers"]
pub struct CSR13 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr13;
#[doc = "context swap registers"]
pub struct CSR14 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr14;
#[doc = "context swap registers"]
pub struct CSR15 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr15;
#[doc = "context swap registers"]
pub struct CSR16 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr16;
#[doc = "context swap registers"]
pub struct CSR17 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr17;
#[doc = "context swap registers"]
pub struct CSR18 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr18;
#[doc = "context swap registers"]
pub struct CSR19 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr19;
#[doc = "context swap registers"]
pub struct CSR20 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr20;
#[doc = "context swap registers"]
pub struct CSR21 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr21;
#[doc = "context swap registers"]
pub struct CSR22 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr22;
#[doc = "context swap registers"]
pub struct CSR23 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr23;
#[doc = "context swap registers"]
pub struct CSR24 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr24;
#[doc = "context swap registers"]
pub struct CSR25 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr25;
#[doc = "context swap registers"]
pub struct CSR26 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr26;
#[doc = "context swap registers"]
pub struct CSR27 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr27;
#[doc = "context swap registers"]
pub struct CSR28 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr28;
#[doc = "context swap registers"]
pub struct CSR29 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr29;
#[doc = "context swap registers"]
pub struct CSR30 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr30;
#[doc = "context swap registers"]
pub struct CSR31 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr31;
#[doc = "context swap registers"]
pub struct CSR32 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr32;
#[doc = "context swap registers"]
pub struct CSR33 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr33;
#[doc = "context swap registers"]
pub struct CSR34 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr34;
#[doc = "context swap registers"]
pub struct CSR35 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr35;
#[doc = "context swap registers"]
pub struct CSR36 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr36;
#[doc = "context swap registers"]
pub struct CSR37 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr37;
#[doc = "context swap registers"]
pub struct CSR38 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr38;
#[doc = "context swap registers"]
pub struct CSR39 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr39;
#[doc = "context swap registers"]
pub struct CSR40 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr40;
#[doc = "context swap registers"]
pub struct CSR41 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr41;
#[doc = "context swap registers"]
pub struct CSR42 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr42;
#[doc = "context swap registers"]
pub struct CSR43 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr43;
#[doc = "context swap registers"]
pub struct CSR44 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr44;
#[doc = "context swap registers"]
pub struct CSR45 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr45;
#[doc = "context swap registers"]
pub struct CSR46 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr46;
#[doc = "context swap registers"]
pub struct CSR47 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr47;
#[doc = "context swap registers"]
pub struct CSR48 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr48;
#[doc = "context swap registers"]
pub struct CSR49 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr49;
#[doc = "context swap registers"]
pub struct CSR50 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr50;
#[doc = "context swap registers"]
pub struct CSR51 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr51;
#[doc = "context swap registers"]
pub struct CSR52 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr52;
#[doc = "context swap registers"]
pub struct CSR53 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "context swap registers"]
pub mod csr53;
#[doc = "HASH digest register"]
pub struct HASH_HR0 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "HASH digest register"]
pub mod hash_hr0;
#[doc = "read-only"]
pub struct HASH_HR1 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "read-only"]
pub mod hash_hr1;
#[doc = "read-only"]
pub struct HASH_HR2 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "read-only"]
pub mod hash_hr2;
#[doc = "read-only"]
pub struct HASH_HR3 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "read-only"]
pub mod hash_hr3;
#[doc = "read-only"]
pub struct HASH_HR4 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "read-only"]
pub mod hash_hr4;
#[doc = "read-only"]
pub struct HASH_HR5 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "read-only"]
pub mod hash_hr5;
#[doc = "read-only"]
pub struct HASH_HR6 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "read-only"]
pub mod hash_hr6;
#[doc = "read-only"]
pub struct HASH_HR7 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "read-only"]
pub mod hash_hr7;