Struct stm32_metapac::rtc::regs::Tampcr
#[repr(transparent)]pub struct Tampcr(pub u32);
Expand description
Tamper configuration register
Tuple Fields§
§0: u32
Implementations§
§impl Tampcr
impl Tampcr
pub fn set_tamptrg(&mut self, n: usize, val: Tamptrg)
pub fn set_tamptrg(&mut self, n: usize, val: Tamptrg)
Active level for tamper
pub fn set_tampie(&mut self, val: bool)
pub fn set_tampie(&mut self, val: bool)
Tamper interrupt enable
pub fn set_tampts(&mut self, val: bool)
pub fn set_tampts(&mut self, val: bool)
Activate timestamp on tamper detection event
pub fn set_tampfreq(&mut self, val: Tampfreq)
pub fn set_tampfreq(&mut self, val: Tampfreq)
Tamper sampling frequency
pub fn set_tampflt(&mut self, val: Tampflt)
pub fn set_tampflt(&mut self, val: Tampflt)
Tamper filter count
pub fn set_tampprch(&mut self, val: Tampprch)
pub fn set_tampprch(&mut self, val: Tampprch)
Tamper precharge duration
pub fn set_tamppudis(&mut self, val: Tamppudis)
pub fn set_tamppudis(&mut self, val: Tamppudis)
Tamper pull-up disable
pub fn set_tampxie(&mut self, n: usize, val: bool)
pub fn set_tampxie(&mut self, n: usize, val: bool)
Tamper interrupt enable
pub const fn tampxnoerase(&self, n: usize) -> bool
pub const fn tampxnoerase(&self, n: usize) -> bool
Tamper no erase
pub fn set_tampxnoerase(&mut self, n: usize, val: bool)
pub fn set_tampxnoerase(&mut self, n: usize, val: bool)
Tamper no erase
pub fn set_tampxmf(&mut self, n: usize, val: bool)
pub fn set_tampxmf(&mut self, n: usize, val: bool)
Tamper mask flag
Trait Implementations§
impl Copy for Tampcr
impl Eq for Tampcr
impl StructuralPartialEq for Tampcr
Auto Trait Implementations§
impl Freeze for Tampcr
impl RefUnwindSafe for Tampcr
impl Send for Tampcr
impl Sync for Tampcr
impl Unpin for Tampcr
impl UnwindSafe for Tampcr
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
)