pub struct Tdet { /* private fields */ }Expand description
Digital tamper. Word writes only. TSR writes create tamper events. SR table defaults contradict the reset-condition prose and are not confirmed post-reset observations. No device operations are performed by this model.
Implementations§
Source§impl Tdet
impl Tdet
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
pub const fn cr(self) -> Reg<Cr, RW>
Sourcepub const fn sr(self) -> Reg<Sr, RW>
pub const fn sr(self) -> Reg<Sr, RW>
Conditional W1C flags. Clear pin flags only after expected pin/filter state returns; internal flags only after source negates. Clear enabled tamper-input flags before DTF; DTF also requires TAF set. TAF clears by software only with DTF clear. Table reset conflicts with VBAT/software-reset prose.
Sourcepub const fn lr(self) -> Reg<Lr, RW>
pub const fn lr(self) -> Reg<Lr, RW>
Clearing lock bits blocks writes until VBAT POR or TDET software reset. Locked writes are ignored without bus error. Locking CR disables software reset; locking LR prevents future lock updates.
pub const fn ier(self) -> Reg<Ier, RW>
Sourcepub const fn tsr(self) -> Reg<Tsr, RW>
pub const fn tsr(self) -> Reg<Tsr, RW>
Reads the captured timestamp (zero when DTF is clear). Any write is tampering and sets DTF; not an ordinary writable clock value.