Struct TzscPrivcfgr2
#[repr(transparent)]pub struct TzscPrivcfgr2(pub u32);Expand description
GTZC1 TZSC privilege configuration register 2.
Tuple Fields§
§0: u32Implementations§
§impl TzscPrivcfgr2
impl TzscPrivcfgr2
pub fn set_tim1priv(&mut self, val: bool)
pub fn set_tim1priv(&mut self, val: bool)
Privileged access mode for TIM1.
pub fn set_spi1priv(&mut self, val: bool)
pub fn set_spi1priv(&mut self, val: bool)
Privileged access mode for SPI1PRIV.
pub const fn usart1priv(&self) -> bool
pub const fn usart1priv(&self) -> bool
Privileged access mode for USART1.
pub fn set_usart1priv(&mut self, val: bool)
pub fn set_usart1priv(&mut self, val: bool)
Privileged access mode for USART1.
pub fn set_tim16priv(&mut self, val: bool)
pub fn set_tim16priv(&mut self, val: bool)
Privileged access mode for TIM16.
pub fn set_tim17priv(&mut self, val: bool)
pub fn set_tim17priv(&mut self, val: bool)
Privileged access mode for TIM17.
pub fn set_sai1priv(&mut self, val: bool)
pub fn set_sai1priv(&mut self, val: bool)
Privileged access mode for SAI1.
pub fn set_spi3priv(&mut self, val: bool)
pub fn set_spi3priv(&mut self, val: bool)
Privileged access mode for SPI3.
pub const fn lpuart1priv(&self) -> bool
pub const fn lpuart1priv(&self) -> bool
Privileged access mode for LPUART1.
pub fn set_lpuart1priv(&mut self, val: bool)
pub fn set_lpuart1priv(&mut self, val: bool)
Privileged access mode for LPUART1.
pub fn set_i2c3priv(&mut self, val: bool)
pub fn set_i2c3priv(&mut self, val: bool)
Privileged access mode for I2C3.
pub const fn lptim1priv(&self) -> bool
pub const fn lptim1priv(&self) -> bool
Privileged access mode for LPTIM1.
pub fn set_lptim1priv(&mut self, val: bool)
pub fn set_lptim1priv(&mut self, val: bool)
Privileged access mode for LPTIM1.
pub fn set_comppriv(&mut self, val: bool)
pub fn set_comppriv(&mut self, val: bool)
Privileged access mode for COMP.
pub fn set_adc4priv(&mut self, val: bool)
pub fn set_adc4priv(&mut self, val: bool)
Privileged access mode for ADC4.
pub const fn vrefbufpriv(&self) -> bool
pub const fn vrefbufpriv(&self) -> bool
Privileged access mode for VREFBUF.
pub fn set_vrefbufpriv(&mut self, val: bool)
pub fn set_vrefbufpriv(&mut self, val: bool)
Privileged access mode for VREFBUF.
Trait Implementations§
§impl Clone for TzscPrivcfgr2
impl Clone for TzscPrivcfgr2
§fn clone(&self) -> TzscPrivcfgr2
fn clone(&self) -> TzscPrivcfgr2
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for TzscPrivcfgr2
impl Debug for TzscPrivcfgr2
§impl Default for TzscPrivcfgr2
impl Default for TzscPrivcfgr2
§fn default() -> TzscPrivcfgr2
fn default() -> TzscPrivcfgr2
Returns the “default value” for a type. Read more
§impl PartialEq for TzscPrivcfgr2
impl PartialEq for TzscPrivcfgr2
impl Copy for TzscPrivcfgr2
impl Eq for TzscPrivcfgr2
impl StructuralPartialEq for TzscPrivcfgr2
Auto Trait Implementations§
impl Freeze for TzscPrivcfgr2
impl RefUnwindSafe for TzscPrivcfgr2
impl Send for TzscPrivcfgr2
impl Sync for TzscPrivcfgr2
impl Unpin for TzscPrivcfgr2
impl UnwindSafe for TzscPrivcfgr2
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