#[repr(transparent)]pub struct ProtlvlA5(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl ProtlvlA5
impl ProtlvlA5
Sourcepub const fn set_priv_(&mut self, val: bool)
pub const fn set_priv_(&mut self, val: bool)
Control privileged access of EIM, ERM, Flexcan, MBC, SCG.
Sourcepub const fn locknsmpu(&self) -> bool
pub const fn locknsmpu(&self) -> bool
Control write access to Nonsecure MPU memory regions. Raw bit values: false (0) = Enable: Unlock these registers. privileged access to Nonsecure MPU memory regions is allowed.; true (1) = Disable: Disable writes to the MPU_CTRL_NS, MPU_RNR_NS, MPU_RBAR_NS, MPU_RLAR_NS, MPU_RBAR_A_NSn and MPU_RLAR_A_NSn. All writes to the registers are ignored.
Sourcepub const fn set_locknsmpu(&mut self, val: bool)
pub const fn set_locknsmpu(&mut self, val: bool)
Control write access to Nonsecure MPU memory regions. Raw bit values: false (0) = Enable: Unlock these registers. privileged access to Nonsecure MPU memory regions is allowed.; true (1) = Disable: Disable writes to the MPU_CTRL_NS, MPU_RNR_NS, MPU_RBAR_NS, MPU_RLAR_NS, MPU_RBAR_A_NSn and MPU_RLAR_A_NSn. All writes to the registers are ignored.
Sourcepub const fn lock(&self) -> bool
pub const fn lock(&self) -> bool
This 1-bit field provides a mechanism to limit writes to this register to protect its contents. Once set, this bit remains asserted until a system reset. Raw bit values: false (0) = Lock0: This register is not locked and can be altered.; true (1) = Lock1: This register is locked and cannot be altered until a system reset.
Sourcepub const fn set_lock(&mut self, val: bool)
pub const fn set_lock(&mut self, val: bool)
This 1-bit field provides a mechanism to limit writes to this register to protect its contents. Once set, this bit remains asserted until a system reset. Raw bit values: false (0) = Lock0: This register is not locked and can be altered.; true (1) = Lock1: This register is locked and cannot be altered until a system reset.