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)
Tamper X active mode
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
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
pub fn set_atcksel(&mut self, val: Atcksel)
pub fn set_atcksel(&mut self, val: Atcksel)
Active tamper RTC asynchronous prescaler clock selection.
Active tamper output sharing.
Active tamper output sharing.
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
)