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 073c8f0 commit 90c4717Copy full SHA for 90c4717
src/peripheral/dwt.rs
@@ -82,6 +82,7 @@ impl DWT {
82
///
83
/// Some devices, like the STM32F7, software lock the DWT after a power cycle.
84
#[cfg(not(armv6m))]
85
+ #[inline]
86
pub fn unlock() {
87
// NOTE(unsafe) atomic write to a stateless, write-only register
88
unsafe { (*Self::ptr()).lar.write(0xC5ACCE55) }
0 commit comments