pub struct LOCK_SPEC;Expand description
Once a LOCK bit is written to 1, ACCESSCTRL silently ignores writes from that master. LOCK is writable only by a Secure, Privileged processor or debugger. LOCK bits are only writable when their value is zero. Once set, they can never be cleared, except by a full reset of ACCESSCTRL Setting the LOCK bit does not affect whether an access raises a bus error. Unprivileged writes, or writes from the DMA, will continue to raise bus errors. All other accesses will continue not to.
You can read this register and get lock::R. You can reset, write, write_with_zero this register using lock::W. You can also modify this register. See API.
Trait Implementations§
Source§impl Resettable for LOCK_SPEC
reset() method sets LOCK to value 0x04
impl Resettable for LOCK_SPEC
reset() method sets LOCK to value 0x04
Source§const RESET_VALUE: u32 = 4u32
const RESET_VALUE: u32 = 4u32
Source§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Source§impl Writable for LOCK_SPEC
write(|w| ..) method takes lock::W writer structure
impl Writable for LOCK_SPEC
write(|w| ..) method takes lock::W writer structure
Source§const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
1 and are changed if you pass 0Source§const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
0 and are changed if you pass 1impl Readable for LOCK_SPEC
read() method returns lock::R reader structure
Auto Trait Implementations§
impl Freeze for LOCK_SPEC
impl RefUnwindSafe for LOCK_SPEC
impl Send for LOCK_SPEC
impl Sync for LOCK_SPEC
impl Unpin for LOCK_SPEC
impl UnwindSafe for LOCK_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
Source§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more