Struct Privcfgr2
#[repr(transparent)]pub struct Privcfgr2(pub u32);Expand description
TZSC privilege configuration register 2.
Tuple Fields§
§0: u32Implementations§
§impl Privcfgr2
impl Privcfgr2
pub const fn set_tim1priv(&mut self, val: bool)
pub const fn set_tim1priv(&mut self, val: bool)
Privileged access mode for TIM1.
pub const fn set_spi1priv(&mut self, val: bool)
pub const fn set_spi1priv(&mut self, val: bool)
Privileged access mode for SPI1.
pub const fn set_tim8priv(&mut self, val: bool)
pub const fn set_tim8priv(&mut self, val: bool)
Privileged access mode for TIM8.
pub const fn usart1priv(&self) -> bool
pub const fn usart1priv(&self) -> bool
Privileged access mode for USART1.
pub const fn set_usart1priv(&mut self, val: bool)
pub const fn set_usart1priv(&mut self, val: bool)
Privileged access mode for USART1.
pub const fn set_tim15priv(&mut self, val: bool)
pub const fn set_tim15priv(&mut self, val: bool)
Privileged access mode for TIM15.
pub const fn set_tim16priv(&mut self, val: bool)
pub const fn set_tim16priv(&mut self, val: bool)
Privileged access mode for TIM16.
pub const fn set_tim17priv(&mut self, val: bool)
pub const fn set_tim17priv(&mut self, val: bool)
Privileged access mode for TIM17.
pub const fn set_sai1priv(&mut self, val: bool)
pub const fn set_sai1priv(&mut self, val: bool)
Privileged access mode for SAI1.
pub const fn set_sai2priv(&mut self, val: bool)
pub const fn set_sai2priv(&mut self, val: bool)
Privileged access mode for SAI2.
pub const fn ltdcusbpriv(&self) -> bool
pub const fn ltdcusbpriv(&self) -> bool
Privileged access mode for LTDC or USB. This bit privileges the LTDC on STM32U59x/5Ax/5Fx/5Gx. It privileges the USB on STM32U535/545. It is reserved on STM32U575/585.
pub const fn set_ltdcusbpriv(&mut self, val: bool)
pub const fn set_ltdcusbpriv(&mut self, val: bool)
Privileged access mode for LTDC or USB. This bit privileges the LTDC on STM32U59x/5Ax/5Fx/5Gx. It privileges the USB on STM32U535/545. It is reserved on STM32U575/585.
pub const fn set_dsipriv(&mut self, val: bool)
pub const fn set_dsipriv(&mut self, val: bool)
Privileged access mode for DSI.
pub const fn gfxtimpriv(&self) -> bool
pub const fn gfxtimpriv(&self) -> bool
Privileged access mode for GFXTIM.
pub const fn set_gfxtimpriv(&mut self, val: bool)
pub const fn set_gfxtimpriv(&mut self, val: bool)
Privileged access mode for GFXTIM.