File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
libraries/tock-register-interface/src Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ IntLike_impl_for!(u16);
94
94
IntLike_impl_for ! ( u32 ) ;
95
95
IntLike_impl_for ! ( u64 ) ;
96
96
IntLike_impl_for ! ( u128 ) ;
97
+ IntLike_impl_for ! ( usize ) ;
97
98
98
99
/// Descriptive name for each register.
99
100
pub trait RegisterLongName { }
@@ -439,6 +440,7 @@ From_impl_for!(u16);
439
440
From_impl_for ! ( u32 ) ;
440
441
From_impl_for ! ( u64 ) ;
441
442
From_impl_for ! ( u128 ) ;
443
+ From_impl_for ! ( usize ) ;
442
444
443
445
/// In memory volatile register.
444
446
// To successfully alias this structure onto hardware registers in memory, this
@@ -565,6 +567,7 @@ Field_impl_for!(u16);
565
567
Field_impl_for ! ( u32 ) ;
566
568
Field_impl_for ! ( u64 ) ;
567
569
Field_impl_for ! ( u128 ) ;
570
+ Field_impl_for ! ( usize ) ;
568
571
569
572
/// Values for the specific register fields.
570
573
///
@@ -607,6 +610,7 @@ FieldValue_impl_for!(u16);
607
610
FieldValue_impl_for ! ( u32 ) ;
608
611
FieldValue_impl_for ! ( u64 ) ;
609
612
FieldValue_impl_for ! ( u128 ) ;
613
+ FieldValue_impl_for ! ( usize ) ;
610
614
611
615
impl < T : IntLike , R : RegisterLongName > FieldValue < T , R > {
612
616
/// Get the raw bitmask represented by this FieldValue.
You can’t perform that action at this time.
0 commit comments