#[repr(u8)]
pub enum TAMPFREQ_A {
Div32768,
Div16384,
Div8192,
Div4096,
Div2048,
Div1024,
Div512,
Div256,
}
Expand description
Tamper sampling frequency
Value on reset: 0
Variants
Div32768
0: RTCCLK / 32768 (1 Hz when RTCCLK = 32768 Hz)
Div16384
1: RTCCLK / 16384 (2 Hz when RTCCLK = 32768 Hz)
Div8192
2: RTCCLK / 8192 (4 Hz when RTCCLK = 32768 Hz)
Div4096
3: RTCCLK / 4096 (8 Hz when RTCCLK = 32768 Hz)
Div2048
4: RTCCLK / 2048 (16 Hz when RTCCLK = 32768 Hz)
Div1024
5: RTCCLK / 1024 (32 Hz when RTCCLK = 32768 Hz)
Div512
6: RTCCLK / 512 (64 Hz when RTCCLK = 32768 Hz)
Div256
7: RTCCLK / 256 (128 Hz when RTCCLK = 32768 Hz)
Trait Implementations
sourceimpl Clone for TAMPFREQ_A
impl Clone for TAMPFREQ_A
sourcefn clone(&self) -> TAMPFREQ_A
fn clone(&self) -> TAMPFREQ_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TAMPFREQ_A
impl Debug for TAMPFREQ_A
sourceimpl From<TAMPFREQ_A> for u8
impl From<TAMPFREQ_A> for u8
sourcefn from(variant: TAMPFREQ_A) -> Self
fn from(variant: TAMPFREQ_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<TAMPFREQ_A> for TAMPFREQ_A
impl PartialEq<TAMPFREQ_A> for TAMPFREQ_A
impl Copy for TAMPFREQ_A
impl StructuralPartialEq for TAMPFREQ_A
Auto Trait Implementations
impl RefUnwindSafe for TAMPFREQ_A
impl Send for TAMPFREQ_A
impl Sync for TAMPFREQ_A
impl Unpin for TAMPFREQ_A
impl UnwindSafe for TAMPFREQ_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more