cortex_m/register/
msplim.rs

1//! Main Stack Pointer Limit Register
2
3/// Reads the CPU register
4#[inline]
5pub fn read() -> u32 {
6    call_asm!(__msplim_r() -> u32)
7}
8
9/// Writes `bits` to the CPU register
10#[inline]
11pub unsafe fn write(bits: u32) {
12    call_asm!(__msplim_w(bits: u32))
13}