Struct stm32_metapac::tamp::regs::Atcr2
#[repr(transparent)]pub struct Atcr2(pub u32);
Expand description
TAMP active tamper control register 2
Tuple Fields§
§0: u32
Implementations§
§impl Atcr2
impl Atcr2
pub const fn atosel(&self, n: usize) -> u8
pub const fn atosel(&self, n: usize) -> u8
Active tamper shared output X selection. The selected output must be available in the package pinout. Bits 9:8 are the mirror of ATOSEL1[1:0] in the ATCR1, and so can also be read or. written through ATCR1.
pub fn set_atosel(&mut self, n: usize, val: u8)
pub fn set_atosel(&mut self, n: usize, val: u8)
Active tamper shared output X selection. The selected output must be available in the package pinout. Bits 9:8 are the mirror of ATOSEL1[1:0] in the ATCR1, and so can also be read or. written through ATCR1.
Trait Implementations§
impl Copy for Atcr2
impl Eq for Atcr2
impl StructuralPartialEq for Atcr2
Auto Trait Implementations§
impl Freeze for Atcr2
impl RefUnwindSafe for Atcr2
impl Send for Atcr2
impl Sync for Atcr2
impl Unpin for Atcr2
impl UnwindSafe for Atcr2
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
)