Struct lpc55_pac::ahb_secure_ctrl::cpu1_lock_reg::LOCK_NS_MPU_R
source · [−]pub struct LOCK_NS_MPU_R(_);
Expand description
Field LOCK_NS_MPU
reader - micro-Cortex M33 (CPU1) non-secure MPU register write-lock.
Implementations
sourceimpl LOCK_NS_MPU_R
impl LOCK_NS_MPU_R
sourcepub fn variant(&self) -> Option<LOCK_NS_MPU_A>
pub fn variant(&self) -> Option<LOCK_NS_MPU_A>
Get enumerated values variant
sourcepub fn is_blocked(&self) -> bool
pub fn is_blocked(&self) -> bool
Checks if the value of the field is BLOCKED
sourcepub fn is_writable(&self) -> bool
pub fn is_writable(&self) -> bool
Checks if the value of the field is WRITABLE
Methods from Deref<Target = FieldReader<u8, LOCK_NS_MPU_A>>
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0).
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1).
Trait Implementations
sourceimpl Deref for LOCK_NS_MPU_R
impl Deref for LOCK_NS_MPU_R
type Target = FieldReader<u8, LOCK_NS_MPU_A>
type Target = FieldReader<u8, LOCK_NS_MPU_A>
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for LOCK_NS_MPU_R
impl Send for LOCK_NS_MPU_R
impl Sync for LOCK_NS_MPU_R
impl Unpin for LOCK_NS_MPU_R
impl UnwindSafe for LOCK_NS_MPU_R
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more