aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Schievink <jonasschievink@gmail.com> 2020-12-03 13:59:00 +0100
committerGravatar GitHub <noreply@github.com> 2020-12-03 13:59:00 +0100
commitb376e0051e6b511ad30db9c3e8429041773e8bc4 (patch)
treee314c88553a0fda651f4d6f807339c1b9d2e920f
parentd6fb22e0fe541595d0a710e5b4faa323171c18f4 (diff)
downloadcortex-m-b376e0051e6b511ad30db9c3e8429041773e8bc4.tar.gz
cortex-m-b376e0051e6b511ad30db9c3e8429041773e8bc4.tar.zst
cortex-m-b376e0051e6b511ad30db9c3e8429041773e8bc4.zip
Update msp::write deprecation message
-rw-r--r--src/register/msp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/register/msp.rs b/src/register/msp.rs
index 78f507c..bccc2ae 100644
--- a/src/register/msp.rs
+++ b/src/register/msp.rs
@@ -8,7 +8,7 @@ pub fn read() -> u32 {
/// Writes `bits` to the CPU register
#[inline]
-#[deprecated = "calling this function invokes Undefined Behavior"]
+#[deprecated = "calling this function invokes Undefined Behavior, consider asm::bootstrap as an alternative"]
pub unsafe fn write(bits: u32) {
call_asm!(__msp_w(bits: u32));
}