Struct TzscSeccfgr2
#[repr(transparent)]pub struct TzscSeccfgr2(pub u32);Expand description
GTZC1 TZSC secure configuration register 2.
Tuple Fields§
§0: u32Implementations§
§impl TzscSeccfgr2
impl TzscSeccfgr2
pub fn set_tim1sec(&mut self, val: bool)
pub fn set_tim1sec(&mut self, val: bool)
Secure access mode for TIM1.
pub fn set_spi1sec(&mut self, val: bool)
pub fn set_spi1sec(&mut self, val: bool)
Secure access mode for SPI1.
pub fn set_usart1sec(&mut self, val: bool)
pub fn set_usart1sec(&mut self, val: bool)
Secure access mode for USART1.
pub fn set_tim16sec(&mut self, val: bool)
pub fn set_tim16sec(&mut self, val: bool)
Secure access mode for TIM16.
pub fn set_tim17sec(&mut self, val: bool)
pub fn set_tim17sec(&mut self, val: bool)
Secure access mode for TIM17.
pub fn set_sai1sec(&mut self, val: bool)
pub fn set_sai1sec(&mut self, val: bool)
Secure access mode for SAI1.
pub fn set_spi3sec(&mut self, val: bool)
pub fn set_spi3sec(&mut self, val: bool)
Secure access mode for SPI3.
pub const fn lpuart1sec(&self) -> bool
pub const fn lpuart1sec(&self) -> bool
Secure access mode for LPUART1.
pub fn set_lpuart1sec(&mut self, val: bool)
pub fn set_lpuart1sec(&mut self, val: bool)
Secure access mode for LPUART1.
pub fn set_i2c3sec(&mut self, val: bool)
pub fn set_i2c3sec(&mut self, val: bool)
Secure access mode for I2C3.
pub fn set_lptim1sec(&mut self, val: bool)
pub fn set_lptim1sec(&mut self, val: bool)
Secure access mode for LPTIM1.
pub fn set_compsec(&mut self, val: bool)
pub fn set_compsec(&mut self, val: bool)
Secure access mode for COMP.
pub fn set_adc4sec(&mut self, val: bool)
pub fn set_adc4sec(&mut self, val: bool)
Secure access mode for ADC4.
pub const fn vrefbufsec(&self) -> bool
pub const fn vrefbufsec(&self) -> bool
Secure access mode for VREFBUF.
pub fn set_vrefbufsec(&mut self, val: bool)
pub fn set_vrefbufsec(&mut self, val: bool)
Secure access mode for VREFBUF.
Trait Implementations§
§impl Clone for TzscSeccfgr2
impl Clone for TzscSeccfgr2
§fn clone(&self) -> TzscSeccfgr2
fn clone(&self) -> TzscSeccfgr2
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 TzscSeccfgr2
impl Debug for TzscSeccfgr2
§impl Default for TzscSeccfgr2
impl Default for TzscSeccfgr2
§fn default() -> TzscSeccfgr2
fn default() -> TzscSeccfgr2
Returns the “default value” for a type. Read more
§impl PartialEq for TzscSeccfgr2
impl PartialEq for TzscSeccfgr2
impl Copy for TzscSeccfgr2
impl Eq for TzscSeccfgr2
impl StructuralPartialEq for TzscSeccfgr2
Auto Trait Implementations§
impl Freeze for TzscSeccfgr2
impl RefUnwindSafe for TzscSeccfgr2
impl Send for TzscSeccfgr2
impl Sync for TzscSeccfgr2
impl Unpin for TzscSeccfgr2
impl UnwindSafe for TzscSeccfgr2
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