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 038396e commit 1f2c3ebCopy full SHA for 1f2c3eb
src/register/msp.rs
@@ -8,6 +8,7 @@ pub fn read() -> u32 {
8
9
/// Writes `bits` to the CPU register
10
#[inline]
11
+#[deprecated = "calling this function invokes Undefined Behavior"]
12
pub unsafe fn write(bits: u32) {
13
call_asm!(__msp_w(bits: u32));
14
}
0 commit comments