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_tim5priv(&mut self, val: bool)
pub const fn set_tim5priv(&mut self, val: bool)
Privileged access mode for TIM5.
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 set_spi3priv(&mut self, val: bool)
pub const fn set_spi3priv(&mut self, val: bool)
Privileged access mode for SPI3.
pub const fn usart2priv(&self) -> bool
pub const fn usart2priv(&self) -> bool
Privileged access mode for USART2.
pub const fn set_usart2priv(&mut self, val: bool)
pub const fn set_usart2priv(&mut self, val: bool)
Privileged access mode for USART2.
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 set_i2c2priv(&mut self, val: bool)
pub const fn set_i2c2priv(&mut self, val: bool)
Privileged access mode for I2C2.
pub const fn set_i2c3priv(&mut self, val: bool)
pub const fn set_i2c3priv(&mut self, val: bool)
Privileged access mode for I2C3.
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 set_dac1priv(&mut self, val: bool)
pub const fn set_dac1priv(&mut self, val: bool)
Privileged access mode for DAC1.
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 lptim1priv(&self) -> bool
pub const fn lptim1priv(&self) -> bool
Privileged access mode for LPTIM1.
pub const fn set_lptim1priv(&mut self, val: bool)
pub const fn set_lptim1priv(&mut self, val: bool)
Privileged access mode for LPTIM1.
pub const fn lpuart1priv(&self) -> bool
pub const fn lpuart1priv(&self) -> bool
Privileged access mode for LPUART1.
pub const fn set_lpuart1priv(&mut self, val: bool)
pub const fn set_lpuart1priv(&mut self, val: bool)
Privileged access mode for LPUART1.
pub const fn set_i2c4priv(&mut self, val: bool)
pub const fn set_i2c4priv(&mut self, val: bool)
Privileged access mode for I2C4.
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 lptim3priv(&self) -> bool
pub const fn lptim3priv(&self) -> bool
Privileged access mode for LPTIM3.
pub const fn set_lptim3priv(&mut self, val: bool)
pub const fn set_lptim3priv(&mut self, val: bool)
Privileged access mode for LPTIM3.
pub const fn fdcan1priv(&self) -> bool
pub const fn fdcan1priv(&self) -> bool
Privileged access mode for FDCAN1.
pub const fn set_fdcan1priv(&mut self, val: bool)
pub const fn set_fdcan1priv(&mut self, val: bool)
Privileged access mode for FDCAN1.
pub const fn set_usbpriv(&mut self, val: bool)
pub const fn set_usbpriv(&mut self, val: bool)
Privileged access mode for USB.
pub const fn set_ucpd1priv(&mut self, val: bool)
pub const fn set_ucpd1priv(&mut self, val: bool)
Privileged access mode for UCPD1.
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 set_comppriv(&mut self, val: bool)
pub const fn set_comppriv(&mut self, val: bool)
Privileged access mode for COMP.
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.