Struct S2retr
#[repr(transparent)]pub struct S2retr(pub u32);
Expand description
Stop 2 peripheral IOs retention register.
Tuple Fields§
§0: u32
Implementations§
§impl S2retr
impl S2retr
pub const fn ptasren(&self) -> Ptasren
pub const fn ptasren(&self) -> Ptasren
PTA output signals Stop 2 mode retention enable Access can be secured by GTZC_TZSC PTACONVSEC. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with SPRIV or when non-secure with NSPRIV.
pub fn set_ptasren(&mut self, val: Ptasren)
pub fn set_ptasren(&mut self, val: Ptasren)
PTA output signals Stop 2 mode retention enable Access can be secured by GTZC_TZSC PTACONVSEC. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with SPRIV or when non-secure with NSPRIV.
pub const fn ptasr(&self) -> Ptasr
pub const fn ptasr(&self) -> Ptasr
PTA interface output signals state retention in Stop 2 mode active Access can be secured by GTZC_TZSC PTACONVSEC. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with SPRIV or when non-secure with NSPRIV.
pub fn set_ptasr(&mut self, val: Ptasr)
pub fn set_ptasr(&mut self, val: Ptasr)
PTA interface output signals state retention in Stop 2 mode active Access can be secured by GTZC_TZSC PTACONVSEC. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with SPRIV or when non-secure with NSPRIV.