Struct TzscSeccfgr1
#[repr(transparent)]pub struct TzscSeccfgr1(pub u32);Expand description
GTZC1 TZSC secure configuration register 1.
Tuple Fields§
§0: u32Implementations§
§impl TzscSeccfgr1
impl TzscSeccfgr1
pub fn set_tim2sec(&mut self, val: bool)
pub fn set_tim2sec(&mut self, val: bool)
Secure access mode for TIM2.
pub fn set_tim3sec(&mut self, val: bool)
pub fn set_tim3sec(&mut self, val: bool)
Secure access mode for TIM3.
pub fn set_tim4sec(&mut self, val: bool)
pub fn set_tim4sec(&mut self, val: bool)
Secure access mode for TIM4.
pub fn set_wwdgsec(&mut self, val: bool)
pub fn set_wwdgsec(&mut self, val: bool)
Secure access mode for WWDG.
pub fn set_iwdgsec(&mut self, val: bool)
pub fn set_iwdgsec(&mut self, val: bool)
Secure access mode for IWDG.
pub fn set_spi2sec(&mut self, val: bool)
pub fn set_spi2sec(&mut self, val: bool)
Secure access mode for SPI2.
pub fn set_usart2sec(&mut self, val: bool)
pub fn set_usart2sec(&mut self, val: bool)
Secure access mode for USART2.
pub fn set_usart3sec(&mut self, val: bool)
pub fn set_usart3sec(&mut self, val: bool)
Secure access mode for USART3.
pub fn set_i2c1sec(&mut self, val: bool)
pub fn set_i2c1sec(&mut self, val: bool)
Secure access mode for I2C1.
pub fn set_i2c2sec(&mut self, val: bool)
pub fn set_i2c2sec(&mut self, val: bool)
Secure access mode for I2C2.
pub fn set_i2c4sec(&mut self, val: bool)
pub fn set_i2c4sec(&mut self, val: bool)
Secure access mode for I2C4.
pub fn set_lptim2sec(&mut self, val: bool)
pub fn set_lptim2sec(&mut self, val: bool)
Secure access mode for LPTIM2.
Trait Implementations§
§impl Clone for TzscSeccfgr1
impl Clone for TzscSeccfgr1
§fn clone(&self) -> TzscSeccfgr1
fn clone(&self) -> TzscSeccfgr1
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 TzscSeccfgr1
impl Debug for TzscSeccfgr1
§impl Default for TzscSeccfgr1
impl Default for TzscSeccfgr1
§fn default() -> TzscSeccfgr1
fn default() -> TzscSeccfgr1
Returns the “default value” for a type. Read more
§impl PartialEq for TzscSeccfgr1
impl PartialEq for TzscSeccfgr1
impl Copy for TzscSeccfgr1
impl Eq for TzscSeccfgr1
impl StructuralPartialEq for TzscSeccfgr1
Auto Trait Implementations§
impl Freeze for TzscSeccfgr1
impl RefUnwindSafe for TzscSeccfgr1
impl Send for TzscSeccfgr1
impl Sync for TzscSeccfgr1
impl Unpin for TzscSeccfgr1
impl UnwindSafe for TzscSeccfgr1
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