Struct stm32_metapac::tamp::regs::Atcr1
#[repr(transparent)]pub struct Atcr1(pub u32);
Expand description
TAMP active tamper control register 1
Tuple Fields§
§0: u32
Implementations§
§impl Atcr1
impl Atcr1
pub fn set_tampam(&mut self, n: usize, val: bool)
pub fn set_tampam(&mut self, n: usize, val: bool)
TAMPAM
pub fn set_atosel(&mut self, n: usize, val: u8)
pub fn set_atosel(&mut self, n: usize, val: u8)
ATOSEL
pub fn set_atcksel(&mut self, val: u8)
pub fn set_atcksel(&mut self, val: u8)
ATCKSEL
ATOSHARE
ATOSHARE
Trait Implementations§
impl Copy for Atcr1
impl Eq for Atcr1
impl StructuralPartialEq for Atcr1
Auto Trait Implementations§
impl Freeze for Atcr1
impl RefUnwindSafe for Atcr1
impl Send for Atcr1
impl Sync for Atcr1
impl Unpin for Atcr1
impl UnwindSafe for Atcr1
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
)