Struct stm32_metapac::rtc::regs::Tafcr
#[repr(transparent)]pub struct Tafcr(pub u32);
Expand description
Tamper and alternate function configuration register
Tuple Fields§
§0: u32
Implementations§
§impl Tafcr
impl Tafcr
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_pc13value(&mut self, val: Pcvalue)
pub fn set_pc13value(&mut self, val: Pcvalue)
PC13 value
pub fn set_pc13mode(&mut self, val: Pcmode)
pub fn set_pc13mode(&mut self, val: Pcmode)
PC13 mode
pub fn set_pc14value(&mut self, val: Pcvalue)
pub fn set_pc14value(&mut self, val: Pcvalue)
PC14 value
pub fn set_pc14mode(&mut self, val: Pcmode)
pub fn set_pc14mode(&mut self, val: Pcmode)
PC14 mode
pub fn set_pc15value(&mut self, val: Pcvalue)
pub fn set_pc15value(&mut self, val: Pcvalue)
PC15 value
pub fn set_pc15mode(&mut self, val: Pcmode)
pub fn set_pc15mode(&mut self, val: Pcmode)
PC15 mode
Trait Implementations§
impl Copy for Tafcr
impl Eq for Tafcr
impl StructuralPartialEq for Tafcr
Auto Trait Implementations§
impl Freeze for Tafcr
impl RefUnwindSafe for Tafcr
impl Send for Tafcr
impl Sync for Tafcr
impl Unpin for Tafcr
impl UnwindSafe for Tafcr
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
)