Skip to content

Commit 1b9b229

Browse files
committed
inline
1 parent 0da1028 commit 1b9b229

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/peripheral/dcb.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,15 @@ impl DCB {
4848
}
4949

5050
/// Enables the [`DebugMonitor`](crate::peripheral::scb::Exception::DebugMonitor) exception
51+
#[inline]
5152
pub fn enable_debug_monitor(&mut self) {
5253
unsafe {
5354
self.demcr.modify(|w| w | DCB_DEMCR_MON_EN);
5455
}
5556
}
5657

5758
/// Disables the [`DebugMonitor`](crate::peripheral::scb::Exception::DebugMonitor) exception
59+
#[inline]
5860
pub fn disable_debug_monitor(&mut self) {
5961
unsafe {
6062
self.demcr.modify(|w| w & !DCB_DEMCR_MON_EN);

0 commit comments

Comments
 (0)