[−][src]Enum lpc55_pac::hashcrypt::lock::SECLOCK_A
pub enum SECLOCK_A { UNLOCK, LOCK, }
Write 1 to secure-lock this block (if running in a security state). Write 0 to unlock. If locked already, may only write if at same or higher security level as lock. Reads as: 0 if unlocked, else 1, 2, 3 to indicate security level it is locked at. NOTE: this and ID are the only readable registers if locked and current state is lower than lock level.
Value on reset: 0
Variants
0: Unlocks, so block is open to all. But, AHB Master will only issue non-secure requests.
1: Locks to the current security level. AHB Master will issue requests at this level.
Trait Implementations
impl Clone for SECLOCK_A
[src][+]
impl Copy for SECLOCK_A
[src]
impl Debug for SECLOCK_A
[src][+]
impl From<SECLOCK_A> for u8
[src][+]
impl PartialEq<SECLOCK_A> for SECLOCK_A
[src][+]
impl StructuralPartialEq for SECLOCK_A
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,