@@ -220,6 +220,7 @@ impl Peripherals {
220
220
}
221
221
222
222
/// Cache and branch predictor maintenance operations
223
+ #[ allow( clippy:: upper_case_acronyms) ]
223
224
pub struct CBP {
224
225
_marker : PhantomData < * const ( ) > ,
225
226
}
@@ -256,6 +257,7 @@ impl ops::Deref for CBP {
256
257
}
257
258
258
259
/// CPUID
260
+ #[ allow( clippy:: upper_case_acronyms) ]
259
261
pub struct CPUID {
260
262
_marker : PhantomData < * const ( ) > ,
261
263
}
@@ -283,6 +285,7 @@ impl ops::Deref for CPUID {
283
285
}
284
286
285
287
/// Debug Control Block
288
+ #[ allow( clippy:: upper_case_acronyms) ]
286
289
pub struct DCB {
287
290
_marker : PhantomData < * const ( ) > ,
288
291
}
@@ -310,6 +313,7 @@ impl ops::Deref for DCB {
310
313
}
311
314
312
315
/// Data Watchpoint and Trace unit
316
+ #[ allow( clippy:: upper_case_acronyms) ]
313
317
pub struct DWT {
314
318
_marker : PhantomData < * const ( ) > ,
315
319
}
@@ -337,6 +341,7 @@ impl ops::Deref for DWT {
337
341
}
338
342
339
343
/// Flash Patch and Breakpoint unit
344
+ #[ allow( clippy:: upper_case_acronyms) ]
340
345
pub struct FPB {
341
346
_marker : PhantomData < * const ( ) > ,
342
347
}
@@ -366,6 +371,7 @@ impl ops::Deref for FPB {
366
371
}
367
372
368
373
/// Floating Point Unit
374
+ #[ allow( clippy:: upper_case_acronyms) ]
369
375
pub struct FPU {
370
376
_marker : PhantomData < * const ( ) > ,
371
377
}
@@ -400,6 +406,7 @@ impl ops::Deref for FPU {
400
406
/// `actlr`. It's called the "implementation control block" in the ARMv8-M
401
407
/// standard, but earlier standards contained the registers, just without a
402
408
/// name.
409
+ #[ allow( clippy:: upper_case_acronyms) ]
403
410
pub struct ICB {
404
411
_marker : PhantomData < * const ( ) > ,
405
412
}
@@ -434,6 +441,7 @@ impl ops::DerefMut for ICB {
434
441
}
435
442
436
443
/// Instrumentation Trace Macrocell
444
+ #[ allow( clippy:: upper_case_acronyms) ]
437
445
pub struct ITM {
438
446
_marker : PhantomData < * const ( ) > ,
439
447
}
@@ -471,6 +479,7 @@ impl ops::DerefMut for ITM {
471
479
}
472
480
473
481
/// Memory Protection Unit
482
+ #[ allow( clippy:: upper_case_acronyms) ]
474
483
pub struct MPU {
475
484
_marker : PhantomData < * const ( ) > ,
476
485
}
@@ -498,6 +507,7 @@ impl ops::Deref for MPU {
498
507
}
499
508
500
509
/// Nested Vector Interrupt Controller
510
+ #[ allow( clippy:: upper_case_acronyms) ]
501
511
pub struct NVIC {
502
512
_marker : PhantomData < * const ( ) > ,
503
513
}
@@ -525,6 +535,7 @@ impl ops::Deref for NVIC {
525
535
}
526
536
527
537
/// Security Attribution Unit
538
+ #[ allow( clippy:: upper_case_acronyms) ]
528
539
pub struct SAU {
529
540
_marker : PhantomData < * const ( ) > ,
530
541
}
@@ -554,6 +565,7 @@ impl ops::Deref for SAU {
554
565
}
555
566
556
567
/// System Control Block
568
+ #[ allow( clippy:: upper_case_acronyms) ]
557
569
pub struct SCB {
558
570
_marker : PhantomData < * const ( ) > ,
559
571
}
@@ -581,6 +593,7 @@ impl ops::Deref for SCB {
581
593
}
582
594
583
595
/// SysTick: System Timer
596
+ #[ allow( clippy:: upper_case_acronyms) ]
584
597
pub struct SYST {
585
598
_marker : PhantomData < * const ( ) > ,
586
599
}
@@ -608,6 +621,7 @@ impl ops::Deref for SYST {
608
621
}
609
622
610
623
/// Trace Port Interface Unit
624
+ #[ allow( clippy:: upper_case_acronyms) ]
611
625
pub struct TPIU {
612
626
_marker : PhantomData < * const ( ) > ,
613
627
}
0 commit comments