@@ -465,7 +465,7 @@ pub struct ACR {
465
465
impl ACR {
466
466
pub ( crate ) fn acr ( & mut self ) -> & flash:: ACR {
467
467
// NOTE(unsafe) this proxy grants exclusive access to this register
468
- unsafe { & ( * FLASH :: ptr ( ) ) . acr ( ) }
468
+ unsafe { ( * FLASH :: ptr ( ) ) . acr ( ) }
469
469
}
470
470
}
471
471
@@ -478,7 +478,7 @@ pub struct CR {
478
478
impl CR {
479
479
pub ( crate ) fn cr ( & mut self ) -> & flash:: CR {
480
480
// NOTE(unsafe) this proxy grants exclusive access to this register
481
- unsafe { & ( * FLASH :: ptr ( ) ) . cr ( ) }
481
+ unsafe { ( * FLASH :: ptr ( ) ) . cr ( ) }
482
482
}
483
483
}
484
484
@@ -491,7 +491,7 @@ pub struct ECCR {
491
491
impl ECCR {
492
492
pub ( crate ) fn eccr ( & mut self ) -> & flash:: ECCR {
493
493
// NOTE(unsafe) this proxy grants exclusive access to this register
494
- unsafe { & ( * FLASH :: ptr ( ) ) . eccr ( ) }
494
+ unsafe { ( * FLASH :: ptr ( ) ) . eccr ( ) }
495
495
}
496
496
}
497
497
@@ -504,7 +504,7 @@ pub struct KEYR {
504
504
impl KEYR {
505
505
pub ( crate ) fn keyr ( & mut self ) -> & flash:: KEYR {
506
506
// NOTE(unsafe) this proxy grants exclusive access to this register
507
- unsafe { & ( * FLASH :: ptr ( ) ) . keyr ( ) }
507
+ unsafe { ( * FLASH :: ptr ( ) ) . keyr ( ) }
508
508
}
509
509
}
510
510
@@ -517,7 +517,7 @@ pub struct OPTKEYR {
517
517
impl OPTKEYR {
518
518
pub ( crate ) fn optkeyr ( & mut self ) -> & flash:: OPTKEYR {
519
519
// NOTE(unsafe) this proxy grants exclusive access to this register
520
- unsafe { & ( * FLASH :: ptr ( ) ) . optkeyr ( ) }
520
+ unsafe { ( * FLASH :: ptr ( ) ) . optkeyr ( ) }
521
521
}
522
522
}
523
523
@@ -530,7 +530,7 @@ pub struct OPTR {
530
530
impl OPTR {
531
531
pub ( crate ) fn optr ( & mut self ) -> & flash:: OPTR {
532
532
// NOTE(unsafe) this proxy grants exclusive access to this register
533
- unsafe { & ( * FLASH :: ptr ( ) ) . optr ( ) }
533
+ unsafe { ( * FLASH :: ptr ( ) ) . optr ( ) }
534
534
}
535
535
}
536
536
@@ -543,7 +543,7 @@ pub struct PCROP1SR {
543
543
impl PCROP1SR {
544
544
pub ( crate ) fn pcrop1sr ( & mut self ) -> & flash:: PCROP1SR {
545
545
// NOTE(unsafe) this proxy grants exclusive access to this register
546
- unsafe { & ( * FLASH :: ptr ( ) ) . pcrop1sr ( ) }
546
+ unsafe { ( * FLASH :: ptr ( ) ) . pcrop1sr ( ) }
547
547
}
548
548
}
549
549
@@ -556,7 +556,7 @@ pub struct PCROP1ER {
556
556
impl PCROP1ER {
557
557
pub ( crate ) fn pcrop1er ( & mut self ) -> & flash:: PCROP1ER {
558
558
// NOTE(unsafe) this proxy grants exclusive access to this register
559
- unsafe { & ( * FLASH :: ptr ( ) ) . pcrop1er ( ) }
559
+ unsafe { ( * FLASH :: ptr ( ) ) . pcrop1er ( ) }
560
560
}
561
561
}
562
562
@@ -569,7 +569,7 @@ pub struct PDKEYR {
569
569
impl PDKEYR {
570
570
pub ( crate ) fn pdkeyr ( & mut self ) -> & flash:: PDKEYR {
571
571
// NOTE(unsafe) this proxy grants exclusive access to this register
572
- unsafe { & ( * FLASH :: ptr ( ) ) . pdkeyr ( ) }
572
+ unsafe { ( * FLASH :: ptr ( ) ) . pdkeyr ( ) }
573
573
}
574
574
}
575
575
@@ -582,7 +582,7 @@ pub struct SEC1R {
582
582
impl SEC1R {
583
583
pub ( crate ) fn sec1r ( & mut self ) -> & flash:: SEC1R {
584
584
// NOTE(unsafe) this proxy grants exclusive access to this register
585
- unsafe { & ( * FLASH :: ptr ( ) ) . sec1r ( ) }
585
+ unsafe { ( * FLASH :: ptr ( ) ) . sec1r ( ) }
586
586
}
587
587
}
588
588
@@ -595,7 +595,7 @@ pub struct SR {
595
595
impl SR {
596
596
pub ( crate ) fn sr ( & mut self ) -> & flash:: SR {
597
597
// NOTE(unsafe) this proxy grants exclusive access to this register
598
- unsafe { & ( * FLASH :: ptr ( ) ) . sr ( ) }
598
+ unsafe { ( * FLASH :: ptr ( ) ) . sr ( ) }
599
599
}
600
600
}
601
601
@@ -608,7 +608,7 @@ pub struct WRP1AR {
608
608
impl WRP1AR {
609
609
pub ( crate ) fn wrp1ar ( & mut self ) -> & flash:: WRP1AR {
610
610
// NOTE(unsafe) this proxy grants exclusive access to this register
611
- unsafe { & ( * FLASH :: ptr ( ) ) . wrp1ar ( ) }
611
+ unsafe { ( * FLASH :: ptr ( ) ) . wrp1ar ( ) }
612
612
}
613
613
}
614
614
@@ -621,6 +621,6 @@ pub struct WRP1BR {
621
621
impl WRP1BR {
622
622
pub ( crate ) fn wrp1br ( & mut self ) -> & flash:: WRP1BR {
623
623
// NOTE(unsafe) this proxy grants exclusive access to this register
624
- unsafe { & ( * FLASH :: ptr ( ) ) . wrp1br ( ) }
624
+ unsafe { ( * FLASH :: ptr ( ) ) . wrp1br ( ) }
625
625
}
626
626
}
0 commit comments