stm32h7 0.16.0

Device support crates for STM32H7 devices
Documentation
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
#[repr(C)]
#[derive(Debug)]
///Register block
pub struct RegisterBlock {
    acr: ACR,
    keyr: KEYR,
    _reserved2: [u8; 0x08],
    cr: CR,
    sr: SR,
    fcr: FCR,
    _reserved5: [u8; 0x04],
    ier: IER,
    isr: ISR,
    icr: ICR,
    _reserved8: [u8; 0x04],
    crccr: CRCCR,
    crcsaddr: CRCSADDR,
    crceaddr: CRCEADDR,
    crcdatar: CRCDATAR,
    eccsfaddr: ECCSFADDR,
    eccdfaddr: ECCDFADDR,
    _reserved14: [u8; 0xb8],
    optkeyr: OPTKEYR,
    optcr: OPTCR,
    optisr: OPTISR,
    opticr: OPTICR,
    obkcr: OBKCR,
    _reserved19: [u8; 0x04],
    obkdr0: OBKDR0,
    obkdr1: OBKDR1,
    obkdr2: OBKDR2,
    obkdr3: OBKDR3,
    obkdr4: OBKDR4,
    obkdr5: OBKDR5,
    obkdr6: OBKDR6,
    obkdr7: OBKDR7,
    _reserved27: [u8; 0xc8],
    nvsr: NVSR,
    nvsrp: NVSRP,
    rotsr: ROTSR,
    rotsrp: ROTSRP,
    otplsr: OTPLSR,
    otplsrp: OTPLSRP,
    wrpsr: WRPSR,
    wrpsrp: WRPSRP,
    _reserved35: [u8; 0x10],
    hdpsr: HDPSR,
    hdpsrp: HDPSRP,
    _reserved37: [u8; 0x18],
    epochsr: EPOCHSR,
    epochsrp: EPOCHSRP,
    _reserved39: [u8; 0x08],
    obw1sr: OBW1SR,
    obw1srp: OBW1SRP,
    obw2sr: OBW2SR,
    obw2srp: OBW2SRP,
}
impl RegisterBlock {
    ///0x00 - Access control register
    #[inline(always)]
    pub const fn acr(&self) -> &ACR {
        &self.acr
    }
    ///0x04 - FLASH control key register
    #[inline(always)]
    pub const fn keyr(&self) -> &KEYR {
        &self.keyr
    }
    ///0x10 - FLASH control register
    #[inline(always)]
    pub const fn cr(&self) -> &CR {
        &self.cr
    }
    ///0x14 - FLASH status register
    #[inline(always)]
    pub const fn sr(&self) -> &SR {
        &self.sr
    }
    ///0x18 - FLASH status register
    #[inline(always)]
    pub const fn fcr(&self) -> &FCR {
        &self.fcr
    }
    ///0x20 - FLASH interrupt enable register
    #[inline(always)]
    pub const fn ier(&self) -> &IER {
        &self.ier
    }
    ///0x24 - FLASH interrupt status register
    #[inline(always)]
    pub const fn isr(&self) -> &ISR {
        &self.isr
    }
    ///0x28 - FLASH interrupt clear register
    #[inline(always)]
    pub const fn icr(&self) -> &ICR {
        &self.icr
    }
    ///0x30 - FLASH CRC control register
    #[inline(always)]
    pub const fn crccr(&self) -> &CRCCR {
        &self.crccr
    }
    ///0x34 - FLASH CRC start address register
    #[inline(always)]
    pub const fn crcsaddr(&self) -> &CRCSADDR {
        &self.crcsaddr
    }
    ///0x38 - FLASH CRC end address register
    #[inline(always)]
    pub const fn crceaddr(&self) -> &CRCEADDR {
        &self.crceaddr
    }
    ///0x3c - FLASH CRC data register
    #[inline(always)]
    pub const fn crcdatar(&self) -> &CRCDATAR {
        &self.crcdatar
    }
    ///0x40 - FLASH ECC single error fail address
    #[inline(always)]
    pub const fn eccsfaddr(&self) -> &ECCSFADDR {
        &self.eccsfaddr
    }
    ///0x44 - FLASH ECC double error fail address
    #[inline(always)]
    pub const fn eccdfaddr(&self) -> &ECCDFADDR {
        &self.eccdfaddr
    }
    ///0x100 - FLASH options key register
    #[inline(always)]
    pub const fn optkeyr(&self) -> &OPTKEYR {
        &self.optkeyr
    }
    ///0x104 - FLASH options control register
    #[inline(always)]
    pub const fn optcr(&self) -> &OPTCR {
        &self.optcr
    }
    ///0x108 - FLASH options interrupt status register
    #[inline(always)]
    pub const fn optisr(&self) -> &OPTISR {
        &self.optisr
    }
    ///0x10c - FLASH options interrupt clear register
    #[inline(always)]
    pub const fn opticr(&self) -> &OPTICR {
        &self.opticr
    }
    ///0x110 - FLASH option byte key control register
    #[inline(always)]
    pub const fn obkcr(&self) -> &OBKCR {
        &self.obkcr
    }
    ///0x118 - FLASH option bytes key data register 0
    #[inline(always)]
    pub const fn obkdr0(&self) -> &OBKDR0 {
        &self.obkdr0
    }
    ///0x11c - FLASH option bytes key data register 1
    #[inline(always)]
    pub const fn obkdr1(&self) -> &OBKDR1 {
        &self.obkdr1
    }
    ///0x120 - FLASH option bytes key data register 2
    #[inline(always)]
    pub const fn obkdr2(&self) -> &OBKDR2 {
        &self.obkdr2
    }
    ///0x124 - FLASH option bytes key data register 3
    #[inline(always)]
    pub const fn obkdr3(&self) -> &OBKDR3 {
        &self.obkdr3
    }
    ///0x128 - FLASH option bytes key data register 4
    #[inline(always)]
    pub const fn obkdr4(&self) -> &OBKDR4 {
        &self.obkdr4
    }
    ///0x12c - FLASH option bytes key data register 5
    #[inline(always)]
    pub const fn obkdr5(&self) -> &OBKDR5 {
        &self.obkdr5
    }
    ///0x130 - FLASH option bytes key data register 6
    #[inline(always)]
    pub const fn obkdr6(&self) -> &OBKDR6 {
        &self.obkdr6
    }
    ///0x134 - FLASH option bytes key data register 7
    #[inline(always)]
    pub const fn obkdr7(&self) -> &OBKDR7 {
        &self.obkdr7
    }
    ///0x200 - FLASH non-volatile status register
    #[inline(always)]
    pub const fn nvsr(&self) -> &NVSR {
        &self.nvsr
    }
    ///0x204 - FLASH security status register programming
    #[inline(always)]
    pub const fn nvsrp(&self) -> &NVSRP {
        &self.nvsrp
    }
    ///0x208 - FLASH RoT status register
    #[inline(always)]
    pub const fn rotsr(&self) -> &ROTSR {
        &self.rotsr
    }
    ///0x20c - FLASH RoT status register programming
    #[inline(always)]
    pub const fn rotsrp(&self) -> &ROTSRP {
        &self.rotsrp
    }
    ///0x210 - FLASH OTP lock status register
    #[inline(always)]
    pub const fn otplsr(&self) -> &OTPLSR {
        &self.otplsr
    }
    ///0x214 - FLASH OTP lock status register programming
    #[inline(always)]
    pub const fn otplsrp(&self) -> &OTPLSRP {
        &self.otplsrp
    }
    ///0x218 - FLASH write protection status register
    #[inline(always)]
    pub const fn wrpsr(&self) -> &WRPSR {
        &self.wrpsr
    }
    ///0x21c - FLASH write protection status register programming
    #[inline(always)]
    pub const fn wrpsrp(&self) -> &WRPSRP {
        &self.wrpsrp
    }
    ///0x230 - FLASH hide protection status register
    #[inline(always)]
    pub const fn hdpsr(&self) -> &HDPSR {
        &self.hdpsr
    }
    ///0x234 - FLASH hide protection status register programming
    #[inline(always)]
    pub const fn hdpsrp(&self) -> &HDPSRP {
        &self.hdpsrp
    }
    ///0x250 - FLASH epoch status register
    #[inline(always)]
    pub const fn epochsr(&self) -> &EPOCHSR {
        &self.epochsr
    }
    ///0x254 - FLASH RoT status register programming
    #[inline(always)]
    pub const fn epochsrp(&self) -> &EPOCHSRP {
        &self.epochsrp
    }
    ///0x260 - FLASH option byte word 1 status register
    #[inline(always)]
    pub const fn obw1sr(&self) -> &OBW1SR {
        &self.obw1sr
    }
    ///0x264 - FLASH option byte word 1 status register programming
    #[inline(always)]
    pub const fn obw1srp(&self) -> &OBW1SRP {
        &self.obw1srp
    }
    ///0x268 - FLASH option byte word 2 status register
    #[inline(always)]
    pub const fn obw2sr(&self) -> &OBW2SR {
        &self.obw2sr
    }
    ///0x26c - FLASH option byte word 2 status register programming
    #[inline(always)]
    pub const fn obw2srp(&self) -> &OBW2SRP {
        &self.obw2srp
    }
}
/**ACR (rw) register accessor: Access control register

You can [`read`](crate::Reg::read) this register and get [`acr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`acr::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@acr`] module*/
pub type ACR = crate::Reg<acr::ACRrs>;
///Access control register
pub mod acr;
/**KEYR (w) register accessor: FLASH control key register

You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`keyr::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@keyr`] module*/
pub type KEYR = crate::Reg<keyr::KEYRrs>;
///FLASH control key register
pub mod keyr;
/**CR (rw) register accessor: FLASH control register

You can [`read`](crate::Reg::read) this register and get [`cr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cr::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@cr`] module*/
pub type CR = crate::Reg<cr::CRrs>;
///FLASH control register
pub mod cr;
/**SR (r) register accessor: FLASH status register

You can [`read`](crate::Reg::read) this register and get [`sr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@sr`] module*/
pub type SR = crate::Reg<sr::SRrs>;
///FLASH status register
pub mod sr;
/**FCR (w) register accessor: FLASH status register

You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fcr::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@fcr`] module*/
pub type FCR = crate::Reg<fcr::FCRrs>;
///FLASH status register
pub mod fcr;
/**IER (rw) register accessor: FLASH interrupt enable register

You can [`read`](crate::Reg::read) this register and get [`ier::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ier::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@ier`] module*/
pub type IER = crate::Reg<ier::IERrs>;
///FLASH interrupt enable register
pub mod ier;
/**ISR (r) register accessor: FLASH interrupt status register

You can [`read`](crate::Reg::read) this register and get [`isr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@isr`] module*/
pub type ISR = crate::Reg<isr::ISRrs>;
///FLASH interrupt status register
pub mod isr;
/**ICR (w) register accessor: FLASH interrupt clear register

You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`icr::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@icr`] module*/
pub type ICR = crate::Reg<icr::ICRrs>;
///FLASH interrupt clear register
pub mod icr;
/**CRCCR (rw) register accessor: FLASH CRC control register

You can [`read`](crate::Reg::read) this register and get [`crccr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`crccr::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@crccr`] module*/
pub type CRCCR = crate::Reg<crccr::CRCCRrs>;
///FLASH CRC control register
pub mod crccr;
/**CRCSADDR (rw) register accessor: FLASH CRC start address register

You can [`read`](crate::Reg::read) this register and get [`crcsaddr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`crcsaddr::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@crcsaddr`] module*/
pub type CRCSADDR = crate::Reg<crcsaddr::CRCSADDRrs>;
///FLASH CRC start address register
pub mod crcsaddr;
/**CRCEADDR (rw) register accessor: FLASH CRC end address register

You can [`read`](crate::Reg::read) this register and get [`crceaddr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`crceaddr::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@crceaddr`] module*/
pub type CRCEADDR = crate::Reg<crceaddr::CRCEADDRrs>;
///FLASH CRC end address register
pub mod crceaddr;
/**CRCDATAR (r) register accessor: FLASH CRC data register

You can [`read`](crate::Reg::read) this register and get [`crcdatar::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@crcdatar`] module*/
pub type CRCDATAR = crate::Reg<crcdatar::CRCDATARrs>;
///FLASH CRC data register
pub mod crcdatar;
/**ECCSFADDR (r) register accessor: FLASH ECC single error fail address

You can [`read`](crate::Reg::read) this register and get [`eccsfaddr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@eccsfaddr`] module*/
pub type ECCSFADDR = crate::Reg<eccsfaddr::ECCSFADDRrs>;
///FLASH ECC single error fail address
pub mod eccsfaddr;
/**ECCDFADDR (r) register accessor: FLASH ECC double error fail address

You can [`read`](crate::Reg::read) this register and get [`eccdfaddr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@eccdfaddr`] module*/
pub type ECCDFADDR = crate::Reg<eccdfaddr::ECCDFADDRrs>;
///FLASH ECC double error fail address
pub mod eccdfaddr;
/**OPTKEYR (w) register accessor: FLASH options key register

You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`optkeyr::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@optkeyr`] module*/
pub type OPTKEYR = crate::Reg<optkeyr::OPTKEYRrs>;
///FLASH options key register
pub mod optkeyr;
/**OPTCR (rw) register accessor: FLASH options control register

You can [`read`](crate::Reg::read) this register and get [`optcr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`optcr::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@optcr`] module*/
pub type OPTCR = crate::Reg<optcr::OPTCRrs>;
///FLASH options control register
pub mod optcr;
/**OPTISR (r) register accessor: FLASH options interrupt status register

You can [`read`](crate::Reg::read) this register and get [`optisr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@optisr`] module*/
pub type OPTISR = crate::Reg<optisr::OPTISRrs>;
///FLASH options interrupt status register
pub mod optisr;
/**OPTICR (w) register accessor: FLASH options interrupt clear register

You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`opticr::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@opticr`] module*/
pub type OPTICR = crate::Reg<opticr::OPTICRrs>;
///FLASH options interrupt clear register
pub mod opticr;
/**OBKCR (rw) register accessor: FLASH option byte key control register

You can [`read`](crate::Reg::read) this register and get [`obkcr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`obkcr::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@obkcr`] module*/
pub type OBKCR = crate::Reg<obkcr::OBKCRrs>;
///FLASH option byte key control register
pub mod obkcr;
/**OBKDR0 (rw) register accessor: FLASH option bytes key data register 0

You can [`read`](crate::Reg::read) this register and get [`obkdr0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`obkdr0::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@obkdr0`] module*/
pub type OBKDR0 = crate::Reg<obkdr0::OBKDR0rs>;
///FLASH option bytes key data register 0
pub mod obkdr0;
/**OBKDR1 (rw) register accessor: FLASH option bytes key data register 1

You can [`read`](crate::Reg::read) this register and get [`obkdr1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`obkdr1::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@obkdr1`] module*/
pub type OBKDR1 = crate::Reg<obkdr1::OBKDR1rs>;
///FLASH option bytes key data register 1
pub mod obkdr1;
/**OBKDR2 (rw) register accessor: FLASH option bytes key data register 2

You can [`read`](crate::Reg::read) this register and get [`obkdr2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`obkdr2::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@obkdr2`] module*/
pub type OBKDR2 = crate::Reg<obkdr2::OBKDR2rs>;
///FLASH option bytes key data register 2
pub mod obkdr2;
/**OBKDR3 (rw) register accessor: FLASH option bytes key data register 3

You can [`read`](crate::Reg::read) this register and get [`obkdr3::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`obkdr3::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@obkdr3`] module*/
pub type OBKDR3 = crate::Reg<obkdr3::OBKDR3rs>;
///FLASH option bytes key data register 3
pub mod obkdr3;
/**OBKDR4 (rw) register accessor: FLASH option bytes key data register 4

You can [`read`](crate::Reg::read) this register and get [`obkdr4::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`obkdr4::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@obkdr4`] module*/
pub type OBKDR4 = crate::Reg<obkdr4::OBKDR4rs>;
///FLASH option bytes key data register 4
pub mod obkdr4;
/**OBKDR5 (rw) register accessor: FLASH option bytes key data register 5

You can [`read`](crate::Reg::read) this register and get [`obkdr5::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`obkdr5::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@obkdr5`] module*/
pub type OBKDR5 = crate::Reg<obkdr5::OBKDR5rs>;
///FLASH option bytes key data register 5
pub mod obkdr5;
/**OBKDR6 (rw) register accessor: FLASH option bytes key data register 6

You can [`read`](crate::Reg::read) this register and get [`obkdr6::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`obkdr6::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@obkdr6`] module*/
pub type OBKDR6 = crate::Reg<obkdr6::OBKDR6rs>;
///FLASH option bytes key data register 6
pub mod obkdr6;
/**OBKDR7 (rw) register accessor: FLASH option bytes key data register 7

You can [`read`](crate::Reg::read) this register and get [`obkdr7::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`obkdr7::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@obkdr7`] module*/
pub type OBKDR7 = crate::Reg<obkdr7::OBKDR7rs>;
///FLASH option bytes key data register 7
pub mod obkdr7;
/**NVSR (r) register accessor: FLASH non-volatile status register

You can [`read`](crate::Reg::read) this register and get [`nvsr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@nvsr`] module*/
pub type NVSR = crate::Reg<nvsr::NVSRrs>;
///FLASH non-volatile status register
pub mod nvsr;
/**NVSRP (rw) register accessor: FLASH security status register programming

You can [`read`](crate::Reg::read) this register and get [`nvsrp::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`nvsrp::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@nvsrp`] module*/
pub type NVSRP = crate::Reg<nvsrp::NVSRPrs>;
///FLASH security status register programming
pub mod nvsrp;
/**ROTSR (r) register accessor: FLASH RoT status register

You can [`read`](crate::Reg::read) this register and get [`rotsr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@rotsr`] module*/
pub type ROTSR = crate::Reg<rotsr::ROTSRrs>;
///FLASH RoT status register
pub mod rotsr;
/**ROTSRP (rw) register accessor: FLASH RoT status register programming

You can [`read`](crate::Reg::read) this register and get [`rotsrp::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`rotsrp::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@rotsrp`] module*/
pub type ROTSRP = crate::Reg<rotsrp::ROTSRPrs>;
///FLASH RoT status register programming
pub mod rotsrp;
/**OTPLSR (r) register accessor: FLASH OTP lock status register

You can [`read`](crate::Reg::read) this register and get [`otplsr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@otplsr`] module*/
pub type OTPLSR = crate::Reg<otplsr::OTPLSRrs>;
///FLASH OTP lock status register
pub mod otplsr;
/**OTPLSRP (rw) register accessor: FLASH OTP lock status register programming

You can [`read`](crate::Reg::read) this register and get [`otplsrp::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`otplsrp::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@otplsrp`] module*/
pub type OTPLSRP = crate::Reg<otplsrp::OTPLSRPrs>;
///FLASH OTP lock status register programming
pub mod otplsrp;
/**WRPSR (rw) register accessor: FLASH write protection status register

You can [`read`](crate::Reg::read) this register and get [`wrpsr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`wrpsr::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@wrpsr`] module*/
pub type WRPSR = crate::Reg<wrpsr::WRPSRrs>;
///FLASH write protection status register
pub mod wrpsr;
/**WRPSRP (rw) register accessor: FLASH write protection status register programming

You can [`read`](crate::Reg::read) this register and get [`wrpsrp::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`wrpsrp::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@wrpsrp`] module*/
pub type WRPSRP = crate::Reg<wrpsrp::WRPSRPrs>;
///FLASH write protection status register programming
pub mod wrpsrp;
/**HDPSR (r) register accessor: FLASH hide protection status register

You can [`read`](crate::Reg::read) this register and get [`hdpsr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@hdpsr`] module*/
pub type HDPSR = crate::Reg<hdpsr::HDPSRrs>;
///FLASH hide protection status register
pub mod hdpsr;
/**HDPSRP (rw) register accessor: FLASH hide protection status register programming

You can [`read`](crate::Reg::read) this register and get [`hdpsrp::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`hdpsrp::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@hdpsrp`] module*/
pub type HDPSRP = crate::Reg<hdpsrp::HDPSRPrs>;
///FLASH hide protection status register programming
pub mod hdpsrp;
/**EPOCHSR (r) register accessor: FLASH epoch status register

You can [`read`](crate::Reg::read) this register and get [`epochsr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@epochsr`] module*/
pub type EPOCHSR = crate::Reg<epochsr::EPOCHSRrs>;
///FLASH epoch status register
pub mod epochsr;
/**EPOCHSRP (rw) register accessor: FLASH RoT status register programming

You can [`read`](crate::Reg::read) this register and get [`epochsrp::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`epochsrp::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@epochsrp`] module*/
pub type EPOCHSRP = crate::Reg<epochsrp::EPOCHSRPrs>;
///FLASH RoT status register programming
pub mod epochsrp;
/**OBW1SR (r) register accessor: FLASH option byte word 1 status register

You can [`read`](crate::Reg::read) this register and get [`obw1sr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@obw1sr`] module*/
pub type OBW1SR = crate::Reg<obw1sr::OBW1SRrs>;
///FLASH option byte word 1 status register
pub mod obw1sr;
/**OBW1SRP (rw) register accessor: FLASH option byte word 1 status register programming

You can [`read`](crate::Reg::read) this register and get [`obw1srp::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`obw1srp::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@obw1srp`] module*/
pub type OBW1SRP = crate::Reg<obw1srp::OBW1SRPrs>;
///FLASH option byte word 1 status register programming
pub mod obw1srp;
/**OBW2SR (r) register accessor: FLASH option byte word 2 status register

You can [`read`](crate::Reg::read) this register and get [`obw2sr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@obw2sr`] module*/
pub type OBW2SR = crate::Reg<obw2sr::OBW2SRrs>;
///FLASH option byte word 2 status register
pub mod obw2sr;
/**OBW2SRP (rw) register accessor: FLASH option byte word 2 status register programming

You can [`read`](crate::Reg::read) this register and get [`obw2srp::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`obw2srp::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@obw2srp`] module*/
pub type OBW2SRP = crate::Reg<obw2srp::OBW2SRPrs>;
///FLASH option byte word 2 status register programming
pub mod obw2srp;