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 0da1028 commit 1b9b229Copy full SHA for 1b9b229
src/peripheral/dcb.rs
@@ -48,13 +48,15 @@ impl DCB {
48
}
49
50
/// Enables the [`DebugMonitor`](crate::peripheral::scb::Exception::DebugMonitor) exception
51
+ #[inline]
52
pub fn enable_debug_monitor(&mut self) {
53
unsafe {
54
self.demcr.modify(|w| w | DCB_DEMCR_MON_EN);
55
56
57
58
/// Disables the [`DebugMonitor`](crate::peripheral::scb::Exception::DebugMonitor) exception
59
60
pub fn disable_debug_monitor(&mut self) {
61
62
self.demcr.modify(|w| w & !DCB_DEMCR_MON_EN);
0 commit comments