Enum alt_stm32f30x_hal::stm32::rtc::tafcr::TAMPFREQ_A
source · [−]#[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 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