We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14c43fa commit 084ea34Copy full SHA for 084ea34
libraries/tock-register-interface/src/registers.rs
@@ -694,6 +694,9 @@ mod tests {
694
let field64 = Field::<u64, ()>::new(0x12345678_9abcdef0, 1);
695
assert_eq!(field64.mask, 0x12345678_9abcdef0_u64);
696
assert_eq!(field64.shift, 1);
697
+ let field128 = Field::<u128, ()>::new(0x12345678_9abcdef0_0fedcba9_87654321, 1);
698
+ assert_eq!(field128.mask, 0x12345678_9abcdef0_0fedcba9_87654321_u128);
699
+ assert_eq!(field128.shift, 1);
700
}
701
702
#[test]
0 commit comments