Struct rp2040_pac::ppb::mpu_type::MPU_TYPE_SPEC
source · pub struct MPU_TYPE_SPEC;
Expand description
Read the MPU Type Register to determine if the processor implements an MPU, and how many regions the MPU supports.
You can read
this register and get mpu_type::R
. See API.
Trait Implementations§
source§impl RegisterSpec for MPU_TYPE_SPEC
impl RegisterSpec for MPU_TYPE_SPEC
source§impl Resettable for MPU_TYPE_SPEC
impl Resettable for MPU_TYPE_SPEC
reset()
method sets MPU_TYPE to value 0x0800
source§const RESET_VALUE: u32 = 2_048u32
const RESET_VALUE: u32 = 2_048u32
Reset value of the register.
source§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
impl Readable for MPU_TYPE_SPEC
read()
method returns mpu_type::R
reader structure
Auto Trait Implementations§
impl Freeze for MPU_TYPE_SPEC
impl RefUnwindSafe for MPU_TYPE_SPEC
impl Send for MPU_TYPE_SPEC
impl Sync for MPU_TYPE_SPEC
impl Unpin for MPU_TYPE_SPEC
impl UnwindSafe for MPU_TYPE_SPEC
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more