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