[][src]Enum lpc55s6x_pac::hashcrypt::lock::SECLOCK_A

#[repr(u8)]
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

UNLOCK

0: Unlocks, so block is open to all. But, AHB Master will only issue non-secure requests.

LOCK

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

impl Send for SECLOCK_A

impl Sync for SECLOCK_A

impl Unpin for SECLOCK_A

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.