Struct stm32_metapac::tamp::regs::Hwcfgr2
#[repr(transparent)]pub struct Hwcfgr2(pub u32);
Expand description
TAMP hardware configuration register 2
Tuple Fields§
§0: u32
Implementations§
§impl Hwcfgr2
impl Hwcfgr2
pub const fn ptionreg_out(&self) -> u8
pub const fn ptionreg_out(&self) -> u8
PTIONREG_OUT
pub fn set_ptionreg_out(&mut self, val: u8)
pub fn set_ptionreg_out(&mut self, val: u8)
PTIONREG_OUT
pub const fn trust_zone(&self) -> u8
pub const fn trust_zone(&self) -> u8
TRUST_ZONE
pub fn set_trust_zone(&mut self, val: u8)
pub fn set_trust_zone(&mut self, val: u8)
TRUST_ZONE
Trait Implementations§
impl Copy for Hwcfgr2
impl Eq for Hwcfgr2
impl StructuralPartialEq for Hwcfgr2
Auto Trait Implementations§
impl Freeze for Hwcfgr2
impl RefUnwindSafe for Hwcfgr2
impl Send for Hwcfgr2
impl Sync for Hwcfgr2
impl Unpin for Hwcfgr2
impl UnwindSafe for Hwcfgr2
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
)