pub enum TAMPTS {
Disabled = 0,
Enabled = 1,
}
Expand description
Activate timestamp on tamper detection event TAMPTS is valid even if TSE = 0 in the RTC_CR register. Timestamp flag is set after the tamper flags, therefore if TAMPTS and TSIE are set, it is recommended to disable the tamper interrupts in order to avoid servicing 2 interrupts.
Value on reset: 0
Variants§
Disabled = 0
0: Tamper detection event does not cause a RTC timestamp to be saved
Enabled = 1
1: Save RTC timestamp on tamper detection event
Trait Implementations§
impl Copy for TAMPTS
impl Eq for TAMPTS
impl StructuralPartialEq for TAMPTS
Auto Trait Implementations§
impl Freeze for TAMPTS
impl RefUnwindSafe for TAMPTS
impl Send for TAMPTS
impl Sync for TAMPTS
impl Unpin for TAMPTS
impl UnwindSafe for TAMPTS
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