diff options
-rw-r--r-- | src/register/msp.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/register/msp.rs b/src/register/msp.rs index 2e8261e..78f507c 100644 --- a/src/register/msp.rs +++ b/src/register/msp.rs @@ -8,6 +8,7 @@ pub fn read() -> u32 { /// Writes `bits` to the CPU register #[inline] +#[deprecated = "calling this function invokes Undefined Behavior"] pub unsafe fn write(bits: u32) { call_asm!(__msp_w(bits: u32)); } |