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 const fn tamp1insel(&self) -> bool
pub const fn tamp1insel(&self) -> bool
Tamper 1 mapping
pub fn set_tamp1insel(&mut self, val: bool)
pub fn set_tamp1insel(&mut self, val: bool)
Tamper 1 mapping
pub fn set_tsinsel(&mut self, val: bool)
pub fn set_tsinsel(&mut self, val: bool)
Timestamp mapping
pub const fn alarmouttype(&self) -> bool
pub const fn alarmouttype(&self) -> bool
AFO_ALARM output type
pub fn set_alarmouttype(&mut self, val: bool)
pub fn set_alarmouttype(&mut self, val: bool)
AFO_ALARM output type
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
)