Struct TzscPrivcfgr1
#[repr(transparent)]pub struct TzscPrivcfgr1(pub u32);Expand description
GTZC1 TZSC privilege configuration register 1.
Tuple Fields§
§0: u32Implementations§
§impl TzscPrivcfgr1
impl TzscPrivcfgr1
pub fn set_tim2priv(&mut self, val: bool)
pub fn set_tim2priv(&mut self, val: bool)
Privileged access mode for TIM2.
pub fn set_tim3priv(&mut self, val: bool)
pub fn set_tim3priv(&mut self, val: bool)
Privileged access mode for TIM3.
pub fn set_tim4priv(&mut self, val: bool)
pub fn set_tim4priv(&mut self, val: bool)
Privileged access mode for TIM4.
pub fn set_wwdgpriv(&mut self, val: bool)
pub fn set_wwdgpriv(&mut self, val: bool)
Privileged access mode for WWDG.
pub fn set_iwdgpriv(&mut self, val: bool)
pub fn set_iwdgpriv(&mut self, val: bool)
Privileged access mode for IWDG.
pub fn set_spi2priv(&mut self, val: bool)
pub 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.
pub fn set_usart2priv(&mut self, val: bool)
pub 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 fn set_usart3priv(&mut self, val: bool)
pub fn set_usart3priv(&mut self, val: bool)
Privileged access mode for USART3.
pub fn set_i2c1priv(&mut self, val: bool)
pub fn set_i2c1priv(&mut self, val: bool)
Privileged access mode for I2C1.
pub fn set_i2c2priv(&mut self, val: bool)
pub fn set_i2c2priv(&mut self, val: bool)
Privileged access mode for I2C2.
pub fn set_i2c4priv(&mut self, val: bool)
pub 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 fn set_lptim2priv(&mut self, val: bool)
pub fn set_lptim2priv(&mut self, val: bool)
Privileged access mode for LPTIM2.
Trait Implementations§
§impl Clone for TzscPrivcfgr1
impl Clone for TzscPrivcfgr1
§fn clone(&self) -> TzscPrivcfgr1
fn clone(&self) -> TzscPrivcfgr1
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 TzscPrivcfgr1
impl Debug for TzscPrivcfgr1
§impl Default for TzscPrivcfgr1
impl Default for TzscPrivcfgr1
§fn default() -> TzscPrivcfgr1
fn default() -> TzscPrivcfgr1
Returns the “default value” for a type. Read more
§impl PartialEq for TzscPrivcfgr1
impl PartialEq for TzscPrivcfgr1
impl Copy for TzscPrivcfgr1
impl Eq for TzscPrivcfgr1
impl StructuralPartialEq for TzscPrivcfgr1
Auto Trait Implementations§
impl Freeze for TzscPrivcfgr1
impl RefUnwindSafe for TzscPrivcfgr1
impl Send for TzscPrivcfgr1
impl Sync for TzscPrivcfgr1
impl Unpin for TzscPrivcfgr1
impl UnwindSafe for TzscPrivcfgr1
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