Struct stm32_metapac::pwr::regs::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.
Trait Implementations§
impl Copy for S2retr
impl Eq for S2retr
impl StructuralPartialEq for S2retr
Auto Trait Implementations§
impl Freeze for S2retr
impl RefUnwindSafe for S2retr
impl Send for S2retr
impl Sync for S2retr
impl Unpin for S2retr
impl UnwindSafe for S2retr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)