Struct stm32_metapac::tamp::regs::Hwcfgr1
#[repr(transparent)]pub struct Hwcfgr1(pub u32);
Expand description
TAMP hardware configuration register 1
Tuple Fields§
§0: u32
Implementations§
§impl Hwcfgr1
impl Hwcfgr1
pub const fn backup_regs(&self) -> u8
pub const fn backup_regs(&self) -> u8
BACKUP_REGS
pub fn set_backup_regs(&mut self, val: u8)
pub fn set_backup_regs(&mut self, val: u8)
BACKUP_REGS
pub fn set_tamper(&mut self, val: u8)
pub fn set_tamper(&mut self, val: u8)
TAMPER
pub const fn active_tamper(&self) -> u8
pub const fn active_tamper(&self) -> u8
ACTIVE_TAMPER
pub fn set_active_tamper(&mut self, val: u8)
pub fn set_active_tamper(&mut self, val: u8)
ACTIVE_TAMPER
pub const fn int_tamper(&self) -> u16
pub const fn int_tamper(&self) -> u16
INT_TAMPER
pub fn set_int_tamper(&mut self, val: u16)
pub fn set_int_tamper(&mut self, val: u16)
INT_TAMPER
Trait Implementations§
impl Copy for Hwcfgr1
impl Eq for Hwcfgr1
impl StructuralPartialEq for Hwcfgr1
Auto Trait Implementations§
impl Freeze for Hwcfgr1
impl RefUnwindSafe for Hwcfgr1
impl Send for Hwcfgr1
impl Sync for Hwcfgr1
impl Unpin for Hwcfgr1
impl UnwindSafe for Hwcfgr1
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)