@@ -159,6 +159,7 @@ impl Peripherals {
159159    } 
160160
161161    /// Unchecked version of `Peripherals::take` 
162+ #[ inline]  
162163    pub  unsafe  fn  steal ( )  -> Self  { 
163164        CORE_PERIPHERALS  = true ; 
164165
@@ -212,13 +213,15 @@ unsafe impl Send for CBP {}
212213
213214#[ cfg( not( armv6m) ) ]  
214215impl  CBP  { 
216+     #[ inline( always) ]  
215217    pub ( crate )  unsafe  fn  new ( )  -> Self  { 
216218        CBP  { 
217219            _marker :  PhantomData , 
218220        } 
219221    } 
220222
221223    /// Returns a pointer to the register block 
224+ #[ inline( always) ]  
222225    pub  fn  ptr ( )  -> * const  self :: cbp:: RegisterBlock  { 
223226        0xE000_EF50  as  * const  _ 
224227    } 
@@ -228,6 +231,7 @@ impl CBP {
228231impl  ops:: Deref  for  CBP  { 
229232    type  Target  = self :: cbp:: RegisterBlock ; 
230233
234+     #[ inline( always) ]  
231235    fn  deref ( & self )  -> & Self :: Target  { 
232236        unsafe  {  & * Self :: ptr ( )  } 
233237    } 
@@ -242,6 +246,7 @@ unsafe impl Send for CPUID {}
242246
243247impl  CPUID  { 
244248    /// Returns a pointer to the register block 
249+ #[ inline( always) ]  
245250    pub  fn  ptr ( )  -> * const  self :: cpuid:: RegisterBlock  { 
246251        0xE000_ED00  as  * const  _ 
247252    } 
@@ -250,6 +255,7 @@ impl CPUID {
250255impl  ops:: Deref  for  CPUID  { 
251256    type  Target  = self :: cpuid:: RegisterBlock ; 
252257
258+     #[ inline( always) ]  
253259    fn  deref ( & self )  -> & Self :: Target  { 
254260        unsafe  {  & * Self :: ptr ( )  } 
255261    } 
@@ -264,6 +270,7 @@ unsafe impl Send for DCB {}
264270
265271impl  DCB  { 
266272    /// Returns a pointer to the register block 
273+ #[ inline( always) ]  
267274    pub  fn  ptr ( )  -> * const  dcb:: RegisterBlock  { 
268275        0xE000_EDF0  as  * const  _ 
269276    } 
@@ -272,6 +279,7 @@ impl DCB {
272279impl  ops:: Deref  for  DCB  { 
273280    type  Target  = self :: dcb:: RegisterBlock ; 
274281
282+     #[ inline( always) ]  
275283    fn  deref ( & self )  -> & Self :: Target  { 
276284        unsafe  {  & * DCB :: ptr ( )  } 
277285    } 
@@ -286,6 +294,7 @@ unsafe impl Send for DWT {}
286294
287295impl  DWT  { 
288296    /// Returns a pointer to the register block 
297+ #[ inline( always) ]  
289298    pub  fn  ptr ( )  -> * const  dwt:: RegisterBlock  { 
290299        0xE000_1000  as  * const  _ 
291300    } 
@@ -294,6 +303,7 @@ impl DWT {
294303impl  ops:: Deref  for  DWT  { 
295304    type  Target  = self :: dwt:: RegisterBlock ; 
296305
306+     #[ inline( always) ]  
297307    fn  deref ( & self )  -> & Self :: Target  { 
298308        unsafe  {  & * Self :: ptr ( )  } 
299309    } 
@@ -309,6 +319,7 @@ unsafe impl Send for FPB {}
309319#[ cfg( not( armv6m) ) ]  
310320impl  FPB  { 
311321    /// Returns a pointer to the register block 
322+ #[ inline( always) ]  
312323    pub  fn  ptr ( )  -> * const  fpb:: RegisterBlock  { 
313324        0xE000_2000  as  * const  _ 
314325    } 
@@ -318,6 +329,7 @@ impl FPB {
318329impl  ops:: Deref  for  FPB  { 
319330    type  Target  = self :: fpb:: RegisterBlock ; 
320331
332+     #[ inline( always) ]  
321333    fn  deref ( & self )  -> & Self :: Target  { 
322334        unsafe  {  & * Self :: ptr ( )  } 
323335    } 
@@ -333,6 +345,7 @@ unsafe impl Send for FPU {}
333345#[ cfg( any( has_fpu,  target_arch = "x86_64" ) ) ]  
334346impl  FPU  { 
335347    /// Returns a pointer to the register block 
348+ #[ inline( always) ]  
336349    pub  fn  ptr ( )  -> * const  fpu:: RegisterBlock  { 
337350        0xE000_EF30  as  * const  _ 
338351    } 
@@ -342,6 +355,7 @@ impl FPU {
342355impl  ops:: Deref  for  FPU  { 
343356    type  Target  = self :: fpu:: RegisterBlock ; 
344357
358+     #[ inline( always) ]  
345359    fn  deref ( & self )  -> & Self :: Target  { 
346360        unsafe  {  & * Self :: ptr ( )  } 
347361    } 
@@ -357,6 +371,7 @@ unsafe impl Send for ITM {}
357371#[ cfg( not( armv6m) ) ]  
358372impl  ITM  { 
359373    /// Returns a pointer to the register block 
374+ #[ inline( always) ]  
360375    pub  fn  ptr ( )  -> * mut  itm:: RegisterBlock  { 
361376        0xE000_0000  as  * mut  _ 
362377    } 
@@ -366,13 +381,15 @@ impl ITM {
366381impl  ops:: Deref  for  ITM  { 
367382    type  Target  = self :: itm:: RegisterBlock ; 
368383
384+     #[ inline( always) ]  
369385    fn  deref ( & self )  -> & Self :: Target  { 
370386        unsafe  {  & * Self :: ptr ( )  } 
371387    } 
372388} 
373389
374390#[ cfg( not( armv6m) ) ]  
375391impl  ops:: DerefMut  for  ITM  { 
392+     #[ inline( always) ]  
376393    fn  deref_mut ( & mut  self )  -> & mut  Self :: Target  { 
377394        unsafe  {  & mut  * Self :: ptr ( )  } 
378395    } 
@@ -387,6 +404,7 @@ unsafe impl Send for MPU {}
387404
388405impl  MPU  { 
389406    /// Returns a pointer to the register block 
407+ #[ inline( always) ]  
390408    pub  fn  ptr ( )  -> * const  mpu:: RegisterBlock  { 
391409        0xE000_ED90  as  * const  _ 
392410    } 
@@ -395,6 +413,7 @@ impl MPU {
395413impl  ops:: Deref  for  MPU  { 
396414    type  Target  = self :: mpu:: RegisterBlock ; 
397415
416+     #[ inline( always) ]  
398417    fn  deref ( & self )  -> & Self :: Target  { 
399418        unsafe  {  & * Self :: ptr ( )  } 
400419    } 
@@ -409,6 +428,7 @@ unsafe impl Send for NVIC {}
409428
410429impl  NVIC  { 
411430    /// Returns a pointer to the register block 
431+ #[ inline( always) ]  
412432    pub  fn  ptr ( )  -> * const  nvic:: RegisterBlock  { 
413433        0xE000_E100  as  * const  _ 
414434    } 
@@ -417,6 +437,7 @@ impl NVIC {
417437impl  ops:: Deref  for  NVIC  { 
418438    type  Target  = self :: nvic:: RegisterBlock ; 
419439
440+     #[ inline( always) ]  
420441    fn  deref ( & self )  -> & Self :: Target  { 
421442        unsafe  {  & * Self :: ptr ( )  } 
422443    } 
@@ -431,6 +452,7 @@ unsafe impl Send for SCB {}
431452
432453impl  SCB  { 
433454    /// Returns a pointer to the register block 
455+ #[ inline( always) ]  
434456    pub  fn  ptr ( )  -> * const  scb:: RegisterBlock  { 
435457        0xE000_ED04  as  * const  _ 
436458    } 
@@ -439,6 +461,7 @@ impl SCB {
439461impl  ops:: Deref  for  SCB  { 
440462    type  Target  = self :: scb:: RegisterBlock ; 
441463
464+     #[ inline( always) ]  
442465    fn  deref ( & self )  -> & Self :: Target  { 
443466        unsafe  {  & * Self :: ptr ( )  } 
444467    } 
@@ -453,6 +476,7 @@ unsafe impl Send for SYST {}
453476
454477impl  SYST  { 
455478    /// Returns a pointer to the register block 
479+ #[ inline( always) ]  
456480    pub  fn  ptr ( )  -> * const  syst:: RegisterBlock  { 
457481        0xE000_E010  as  * const  _ 
458482    } 
@@ -461,6 +485,7 @@ impl SYST {
461485impl  ops:: Deref  for  SYST  { 
462486    type  Target  = self :: syst:: RegisterBlock ; 
463487
488+     #[ inline( always) ]  
464489    fn  deref ( & self )  -> & Self :: Target  { 
465490        unsafe  {  & * Self :: ptr ( )  } 
466491    } 
@@ -476,6 +501,7 @@ unsafe impl Send for TPIU {}
476501#[ cfg( not( armv6m) ) ]  
477502impl  TPIU  { 
478503    /// Returns a pointer to the register block 
504+ #[ inline( always) ]  
479505    pub  fn  ptr ( )  -> * const  tpiu:: RegisterBlock  { 
480506        0xE004_0000  as  * const  _ 
481507    } 
@@ -485,6 +511,7 @@ impl TPIU {
485511impl  ops:: Deref  for  TPIU  { 
486512    type  Target  = self :: tpiu:: RegisterBlock ; 
487513
514+     #[ inline( always) ]  
488515    fn  deref ( & self )  -> & Self :: Target  { 
489516        unsafe  {  & * Self :: ptr ( )  } 
490517    } 
0 commit comments