#[repr(transparent)]pub struct Lr(pub u32);Expand description
Lock.
Tuple Fields§
§0: u32Implementations§
Source§impl Lr
impl Lr
Sourcepub const fn crl(&self) -> bool
pub const fn crl(&self) -> bool
Control Register Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn set_crl(&mut self, val: bool)
pub const fn set_crl(&mut self, val: bool)
Control Register Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn srl(&self) -> bool
pub const fn srl(&self) -> bool
Status Register Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn set_srl(&mut self, val: bool)
pub const fn set_srl(&mut self, val: bool)
Status Register Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn lrl(&self) -> bool
pub const fn lrl(&self) -> bool
Lock Register Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn set_lrl(&mut self, val: bool)
pub const fn set_lrl(&mut self, val: bool)
Lock Register Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn iel(&self) -> bool
pub const fn iel(&self) -> bool
Interrupt Enable Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn set_iel(&mut self, val: bool)
pub const fn set_iel(&mut self, val: bool)
Interrupt Enable Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn tsl(&self) -> bool
pub const fn tsl(&self) -> bool
Tamper Seconds Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn set_tsl(&mut self, val: bool)
pub const fn set_tsl(&mut self, val: bool)
Tamper Seconds Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn tel(&self) -> bool
pub const fn tel(&self) -> bool
Tamper Enable Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn set_tel(&mut self, val: bool)
pub const fn set_tel(&mut self, val: bool)
Tamper Enable Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn ppl(&self) -> bool
pub const fn ppl(&self) -> bool
Pin Polarity Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn set_ppl(&mut self, val: bool)
pub const fn set_ppl(&mut self, val: bool)
Pin Polarity Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn gfl0(&self) -> bool
pub const fn gfl0(&self) -> bool
Glitch Filter Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn set_gfl0(&mut self, val: bool)
pub const fn set_gfl0(&mut self, val: bool)
Glitch Filter Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn gfl1(&self) -> bool
pub const fn gfl1(&self) -> bool
Glitch Filter Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn set_gfl1(&mut self, val: bool)
pub const fn set_gfl1(&mut self, val: bool)
Glitch Filter Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn gfl2(&self) -> bool
pub const fn gfl2(&self) -> bool
Glitch Filter Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn set_gfl2(&mut self, val: bool)
pub const fn set_gfl2(&mut self, val: bool)
Glitch Filter Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn gfl3(&self) -> bool
pub const fn gfl3(&self) -> bool
Glitch Filter Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn set_gfl3(&mut self, val: bool)
pub const fn set_gfl3(&mut self, val: bool)
Glitch Filter Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn gfl4(&self) -> bool
pub const fn gfl4(&self) -> bool
Glitch Filter Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.
Sourcepub const fn set_gfl4(&mut self, val: bool)
pub const fn set_gfl4(&mut self, val: bool)
Glitch Filter Lock. Raw bit values: false (0) = Lock: Locked and writes are ignored.; true (1) = NotLock: Not locked and writes complete as normal.