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 595fbd7 commit 2a15caaCopy full SHA for 2a15caa
src/peripheral/dcb.rs
@@ -33,6 +33,7 @@ impl DCB {
33
pub fn disable_trace(&mut self) {
34
// unset bit 24 / TRCENA
35
unsafe { self.demcr.modify(|w| w & !DCB_DEMCR_TRCENA); }
36
+ }
37
38
/// Is there a debugger attached? (see notes)
39
///
src/peripheral/test.rs
@@ -109,6 +109,7 @@ fn nvic() {
109
assert_eq!(address(&nvic.icpr), 0xE000E280);
110
assert_eq!(address(&nvic.iabr), 0xE000E300);
111
assert_eq!(address(&nvic.ipr), 0xE000E400);
112
+ #[cfg(not(armv6m))]
113
assert_eq!(address(&nvic.stir), 0xE000EF00);
114
}
115
0 commit comments