Struct Privcfgr1
#[repr(transparent)]pub struct Privcfgr1(pub u32);Expand description
TZSC privilege configuration register 1.
Tuple Fields§
§0: u32Implementations§
§impl Privcfgr1
impl Privcfgr1
pub const fn set_tim2priv(&mut self, val: bool)
pub const fn set_tim2priv(&mut self, val: bool)
Privileged access mode for TIM2.
pub const fn set_tim3priv(&mut self, val: bool)
pub const fn set_tim3priv(&mut self, val: bool)
Privileged access mode for TIM3.
pub const fn set_tim4priv(&mut self, val: bool)
pub const fn set_tim4priv(&mut self, val: bool)
Privileged access mode for TIM4.
pub const fn set_tim6priv(&mut self, val: bool)
pub const fn set_tim6priv(&mut self, val: bool)
Privileged access mode for TIM6.
pub const fn set_tim7priv(&mut self, val: bool)
pub const fn set_tim7priv(&mut self, val: bool)
Privileged access mode for TIM7.
pub const fn set_wwdgpriv(&mut self, val: bool)
pub const fn set_wwdgpriv(&mut self, val: bool)
Privileged access mode for WWDG.
pub const fn set_iwdgpriv(&mut self, val: bool)
pub const fn set_iwdgpriv(&mut self, val: bool)
Privileged access mode for IWDG.
pub const fn set_spi2priv(&mut self, val: bool)
pub const fn set_spi2priv(&mut self, val: bool)
Privileged access mode for SPI2.
pub const fn usart2priv(&self) -> bool
pub const fn usart2priv(&self) -> bool
Privileged access mode for USART2. This bit is only available on STM32U3B5/3C5.
pub const fn set_usart2priv(&mut self, val: bool)
pub const fn set_usart2priv(&mut self, val: bool)
Privileged access mode for USART2. This bit is only available on STM32U3B5/3C5.
pub const fn usart3priv(&self) -> bool
pub const fn usart3priv(&self) -> bool
Privileged access mode for USART3.
pub const fn set_usart3priv(&mut self, val: bool)
pub const fn set_usart3priv(&mut self, val: bool)
Privileged access mode for USART3.
pub const fn set_uart4priv(&mut self, val: bool)
pub const fn set_uart4priv(&mut self, val: bool)
Privileged access mode for UART4.
pub const fn set_uart5priv(&mut self, val: bool)
pub const fn set_uart5priv(&mut self, val: bool)
Privileged access mode for UART5.
pub const fn set_i2c1priv(&mut self, val: bool)
pub const fn set_i2c1priv(&mut self, val: bool)
Privileged access mode for I2C1.
pub const fn i2c2priv(&self) -> bool
pub const fn i2c2priv(&self) -> bool
Privileged access mode for I2C2. This bit is only available on STM32U375/385 and STM32U3B5/3C5.
pub const fn set_i2c2priv(&mut self, val: bool)
pub const fn set_i2c2priv(&mut self, val: bool)
Privileged access mode for I2C2. This bit is only available on STM32U375/385 and STM32U3B5/3C5.
pub const fn set_crspriv(&mut self, val: bool)
pub const fn set_crspriv(&mut self, val: bool)
Privileged access mode for CRS.
pub const fn i2c4priv(&self) -> bool
pub const fn i2c4priv(&self) -> bool
Privileged access mode for I2C4. This bit is only available on STM32U3B5/3C5.
pub const fn set_i2c4priv(&mut self, val: bool)
pub const fn set_i2c4priv(&mut self, val: bool)
Privileged access mode for I2C4. This bit is only available on STM32U3B5/3C5.
pub const fn lptim2priv(&self) -> bool
pub const fn lptim2priv(&self) -> bool
Privileged access mode for LPTIM2.
pub const fn set_lptim2priv(&mut self, val: bool)
pub const fn set_lptim2priv(&mut self, val: bool)
Privileged access mode for LPTIM2.
pub const fn fdcan1priv(&self) -> bool
pub const fn fdcan1priv(&self) -> bool
Privileged access mode for FDCAN1. This bit is only available on STM32U375/385 and STM32U3B5/3C5.
pub const fn set_fdcan1priv(&mut self, val: bool)
pub const fn set_fdcan1priv(&mut self, val: bool)
Privileged access mode for FDCAN1. This bit is only available on STM32U375/385 and STM32U3B5/3C5.
pub const fn fdcan2priv(&self) -> bool
pub const fn fdcan2priv(&self) -> bool
Privileged access mode for FDCAN2. This bit is only available on STM32U3B5/3C5.
pub const fn set_fdcan2priv(&mut self, val: bool)
pub const fn set_fdcan2priv(&mut self, val: bool)
Privileged access mode for FDCAN2. This bit is only available on STM32U3B5/3C5.
pub const fn set_spi3priv(&mut self, val: bool)
pub const fn set_spi3priv(&mut self, val: bool)
Privileged access mode for SPI3.
pub const fn set_i3c1priv(&mut self, val: bool)
pub const fn set_i3c1priv(&mut self, val: bool)
Privileged access mode for I3C1.
pub const fn set_opamppriv(&mut self, val: bool)
pub const fn set_opamppriv(&mut self, val: bool)
Privileged access mode for OPAMP.
pub const fn vrefbufpriv(&self) -> bool
pub const fn vrefbufpriv(&self) -> bool
Privileged access mode for VREFBUF.
pub const fn set_vrefbufpriv(&mut self, val: bool)
pub const fn set_vrefbufpriv(&mut self, val: bool)
Privileged access mode for VREFBUF.
pub const fn spi4priv(&self) -> bool
pub const fn spi4priv(&self) -> bool
Privileged access mode for SPI4. This bit is only available on STM32U3B5/3C5.
pub const fn set_spi4priv(&mut self, val: bool)
pub const fn set_spi4priv(&mut self, val: bool)
Privileged access mode for SPI4. This bit is only available on STM32U3B5/3C5.