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 9b5a6ea commit 91470c7Copy full SHA for 91470c7
src/interrupt.rs
@@ -30,6 +30,7 @@ pub unsafe trait InterruptNumber: Copy {
30
note = "Please update your PAC to one using the latest svd2rust"
31
)]
32
unsafe impl<T: Nr + Copy> InterruptNumber for T {
33
+ #[inline]
34
fn number(self) -> u16 {
35
self.nr() as u16
36
}
0 commit comments