Struct lpc55_pac::hashcrypt::lock::R [−][src]
pub struct R(_);
Register LOCK
reader
Implementations
impl R
[src]
impl R
[src]pub fn seclock(&self) -> SECLOCK_R
[src]
Bits 0:1 - 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.
pub fn pattern(&self) -> PATTERN_R
[src]
Bits 4:15 - Must write 0xA75 to change lock state. A75:Pattern needed to change bits 1:0