Struct lpc55_pac::flash_cmpa::prince_base_addr::LOCK_REG2_R
source · [−]pub struct LOCK_REG2_R(_);
Expand description
Field LOCK_REG2
reader - Lock PRINCE region2 settings. 00 - Region is not locked. 01, 10, 11 - Region is locked.
Methods from Deref<Target = FieldReader<u8, u8>>
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_REG2_R
impl Deref for LOCK_REG2_R
Auto Trait Implementations
impl RefUnwindSafe for LOCK_REG2_R
impl Send for LOCK_REG2_R
impl Sync for LOCK_REG2_R
impl Unpin for LOCK_REG2_R
impl UnwindSafe for LOCK_REG2_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