@@ -238,7 +238,7 @@ impl CBP {
238
238
}
239
239
240
240
/// Pointer to the register block
241
- pub const CBP_PTR : * const self :: cbp:: RegisterBlock = 0xE000_EF50 as * const _ ;
241
+ pub const PTR : * const self :: cbp:: RegisterBlock = 0xE000_EF50 as * const _ ;
242
242
243
243
/// Returns a pointer to the register block (to be deprecated in 0.7)
244
244
#[ inline( always) ]
@@ -266,7 +266,7 @@ unsafe impl Send for CPUID {}
266
266
267
267
impl CPUID {
268
268
/// Pointer to the register block
269
- pub const CPUID_PTR : * const self :: cpuid:: RegisterBlock = 0xE000_ED00 as * const _ ;
269
+ pub const PTR : * const self :: cpuid:: RegisterBlock = 0xE000_ED00 as * const _ ;
270
270
271
271
/// Returns a pointer to the register block (to be deprecated in 0.7)
272
272
#[ inline( always) ]
@@ -293,7 +293,7 @@ unsafe impl Send for DCB {}
293
293
294
294
impl DCB {
295
295
/// Pointer to the register block
296
- pub const DCB_PTR : * const dcb:: RegisterBlock = 0xE000_EDF0 as * const _ ;
296
+ pub const PTR : * const dcb:: RegisterBlock = 0xE000_EDF0 as * const _ ;
297
297
298
298
/// Returns a pointer to the register block (to be deprecated in 0.7)
299
299
#[ inline( always) ]
@@ -320,7 +320,7 @@ unsafe impl Send for DWT {}
320
320
321
321
impl DWT {
322
322
/// Pointer to the register block
323
- pub const DWT_PTR : * const dwt:: RegisterBlock = 0xE000_1000 as * const _ ;
323
+ pub const PTR : * const dwt:: RegisterBlock = 0xE000_1000 as * const _ ;
324
324
325
325
/// Returns a pointer to the register block (to be deprecated in 0.7)
326
326
#[ inline( always) ]
@@ -348,7 +348,7 @@ unsafe impl Send for FPB {}
348
348
#[ cfg( not( armv6m) ) ]
349
349
impl FPB {
350
350
/// Pointer to the register block
351
- pub const FPB_PTR : * const fpb:: RegisterBlock = 0xE000_2000 as * const _ ;
351
+ pub const PTR : * const fpb:: RegisterBlock = 0xE000_2000 as * const _ ;
352
352
353
353
/// Returns a pointer to the register block (to be deprecated in 0.7)
354
354
#[ inline( always) ]
@@ -377,7 +377,7 @@ unsafe impl Send for FPU {}
377
377
#[ cfg( any( has_fpu, target_arch = "x86_64" ) ) ]
378
378
impl FPU {
379
379
/// Pointer to the register block
380
- pub const FPU_PTR : * const fpu:: RegisterBlock = 0xE000_EF30 as * const _ ;
380
+ pub const PTR : * const fpu:: RegisterBlock = 0xE000_EF30 as * const _ ;
381
381
382
382
/// Returns a pointer to the register block (to be deprecated in 0.7)
383
383
#[ inline( always) ]
@@ -410,7 +410,7 @@ unsafe impl Send for ICB {}
410
410
411
411
impl ICB {
412
412
/// Pointer to the register block
413
- pub const ICB_PTR : * mut icb:: RegisterBlock = 0xE000_E004 as * mut _ ;
413
+ pub const PTR : * mut icb:: RegisterBlock = 0xE000_E004 as * mut _ ;
414
414
415
415
/// Returns a pointer to the register block (to be deprecated in 0.7)
416
416
#[ inline( always) ]
@@ -445,7 +445,7 @@ unsafe impl Send for ITM {}
445
445
#[ cfg( all( not( armv6m) , not( armv8m_base) ) ) ]
446
446
impl ITM {
447
447
/// Pointer to the register block
448
- pub const ITM_PTR : * mut itm:: RegisterBlock = 0xE000_0000 as * mut _ ;
448
+ pub const PTR : * mut itm:: RegisterBlock = 0xE000_0000 as * mut _ ;
449
449
450
450
/// Returns a pointer to the register block (to be deprecated in 0.7)
451
451
#[ inline( always) ]
@@ -481,7 +481,7 @@ unsafe impl Send for MPU {}
481
481
482
482
impl MPU {
483
483
/// Pointer to the register block
484
- pub const MPU_PTR : * const mpu:: RegisterBlock = 0xE000_ED90 as * const _ ;
484
+ pub const PTR : * const mpu:: RegisterBlock = 0xE000_ED90 as * const _ ;
485
485
486
486
/// Returns a pointer to the register block (to be deprecated in 0.7)
487
487
#[ inline( always) ]
@@ -508,7 +508,7 @@ unsafe impl Send for NVIC {}
508
508
509
509
impl NVIC {
510
510
/// Pointer to the register block
511
- pub const NVIC_PTR : * const nvic:: RegisterBlock = 0xE000_E100 as * const _ ;
511
+ pub const PTR : * const nvic:: RegisterBlock = 0xE000_E100 as * const _ ;
512
512
513
513
/// Returns a pointer to the register block (to be deprecated in 0.7)
514
514
#[ inline( always) ]
@@ -536,7 +536,7 @@ unsafe impl Send for SAU {}
536
536
#[ cfg( armv8m) ]
537
537
impl SAU {
538
538
/// Pointer to the register block
539
- pub const SAU_PTR : * const sau:: RegisterBlock = 0xE000_EDD0 as * const _ ;
539
+ pub const PTR : * const sau:: RegisterBlock = 0xE000_EDD0 as * const _ ;
540
540
541
541
/// Returns a pointer to the register block (to be deprecated in 0.7)
542
542
#[ inline( always) ]
@@ -564,7 +564,7 @@ unsafe impl Send for SCB {}
564
564
565
565
impl SCB {
566
566
/// Pointer to the register block
567
- pub const SCB_PTR : * const scb:: RegisterBlock = 0xE000_ED04 as * const _ ;
567
+ pub const PTR : * const scb:: RegisterBlock = 0xE000_ED04 as * const _ ;
568
568
569
569
/// Returns a pointer to the register block (to be deprecated in 0.7)
570
570
#[ inline( always) ]
@@ -591,7 +591,7 @@ unsafe impl Send for SYST {}
591
591
592
592
impl SYST {
593
593
/// Pointer to the register block
594
- pub const SYST_PTR : * const syst:: RegisterBlock = 0xE000_E010 as * const _ ;
594
+ pub const PTR : * const syst:: RegisterBlock = 0xE000_E010 as * const _ ;
595
595
596
596
/// Returns a pointer to the register block (to be deprecated in 0.7)
597
597
#[ inline( always) ]
@@ -619,7 +619,7 @@ unsafe impl Send for TPIU {}
619
619
#[ cfg( not( armv6m) ) ]
620
620
impl TPIU {
621
621
/// Pointer to the register block
622
- pub const TPIU_PTR : * const tpiu:: RegisterBlock = 0xE004_0000 as * const _ ;
622
+ pub const PTR : * const tpiu:: RegisterBlock = 0xE004_0000 as * const _ ;
623
623
624
624
/// Returns a pointer to the register block (to be deprecated in 0.7)
625
625
#[ inline( always) ]
0 commit comments