#[repr(u8)]
pub enum TAMPFREQ_A {
Hz1,
Hz2,
Hz4,
Hz8,
Hz16,
Hz32,
Hz64,
Hz128,
}
Expand description
TAMPFREQ
Value on reset: 0
Variants
Hz1
0: RTCCLK / 32768 (1 Hz when RTCCLK = 32768 Hz)
Hz2
1: RTCCLK / 16384 (2 Hz when RTCCLK = 32768 Hz)
Hz4
2: RTCCLK / 8192 (4 Hz when RTCCLK = 32768 Hz)
Hz8
3: RTCCLK / 4096 (8 Hz when RTCCLK = 32768 Hz)
Hz16
4: RTCCLK / 2048 (16 Hz when RTCCLK = 32768 Hz)
Hz32
5: RTCCLK / 1024 (32 Hz when RTCCLK = 32768 Hz)
Hz64
6: RTCCLK / 512 (64 Hz when RTCCLK = 32768 Hz)
Hz128
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