Struct Seccfgr3
#[repr(transparent)]pub struct Seccfgr3(pub u32);Expand description
TZSC secure configuration register 3.
Tuple Fields§
§0: u32Implementations§
§impl Seccfgr3
impl Seccfgr3
pub const fn set_crcsec(&mut self, val: bool)
pub const fn set_crcsec(&mut self, val: bool)
Secure access mode for CRC.
pub const fn set_tscsec(&mut self, val: bool)
pub const fn set_tscsec(&mut self, val: bool)
Secure access mode for TSC (only on STM32WBA5x, STM32WBA6x).
pub const fn set_icachesec(&mut self, val: bool)
pub const fn set_icachesec(&mut self, val: bool)
Secure access mode for ICACHE registers.
pub const fn otgsec(&self) -> bool
pub const fn otgsec(&self) -> bool
Secure access mode for USB OTG_HS (only on STM32WBA6x). This bit is reserved on STM32WBA63xx devices.
pub const fn set_otgsec(&mut self, val: bool)
pub const fn set_otgsec(&mut self, val: bool)
Secure access mode for USB OTG_HS (only on STM32WBA6x). This bit is reserved on STM32WBA63xx devices.
pub const fn set_aessec(&mut self, val: bool)
pub const fn set_aessec(&mut self, val: bool)
Secure access mode for AES.
pub const fn set_hashsec(&mut self, val: bool)
pub const fn set_hashsec(&mut self, val: bool)
Secure access mode for HASH.
pub const fn set_rngsec(&mut self, val: bool)
pub const fn set_rngsec(&mut self, val: bool)
Secure access mode for RNG.
pub const fn set_saessec(&mut self, val: bool)
pub const fn set_saessec(&mut self, val: bool)
Secure access mode for SAES (only on STM32WBA5x, STM32WBA6x).
pub const fn set_pkasec(&mut self, val: bool)
pub const fn set_pkasec(&mut self, val: bool)
Secure access mode for PKA.
pub const fn set_xspi1sec(&mut self, val: bool)
pub const fn set_xspi1sec(&mut self, val: bool)
Secure access mode for XSPI1 and DLYBXS1 (only on STM32WBA2x).
pub const fn set_ramcfgsec(&mut self, val: bool)
pub const fn set_ramcfgsec(&mut self, val: bool)
Secure access mode for RAMCFG.
pub const fn set_radiosec(&mut self, val: bool)
pub const fn set_radiosec(&mut self, val: bool)
Secure access mode for 2.4 GHz RADIO.
pub const fn ptaconvsec(&self) -> bool
pub const fn ptaconvsec(&self) -> bool
Secure access mode for PTACONV.
pub const fn set_ptaconvsec(&mut self, val: bool)
pub const fn set_ptaconvsec(&mut self, val: bool)
Secure access mode for PTACONV.
Trait Implementations§
impl Copy for Seccfgr3
impl Eq for Seccfgr3
impl StructuralPartialEq for Seccfgr3
Auto Trait Implementations§
impl Freeze for Seccfgr3
impl RefUnwindSafe for Seccfgr3
impl Send for Seccfgr3
impl Sync for Seccfgr3
impl Unpin for Seccfgr3
impl UnsafeUnpin for Seccfgr3
impl UnwindSafe for Seccfgr3
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
Mutably borrows from an owned value. Read more