[−][src]Enum stm32l0xx_hal::device::rtc::tampcr::TAMPFREQR
Possible values of the field TAMPFREQ
Variants
DIV32768
RTCCLK / 32768 (1 Hz when RTCCLK = 32768 Hz)
DIV16384
RTCCLK / 16384 (2 Hz when RTCCLK = 32768 Hz)
DIV8192
RTCCLK / 8192 (4 Hz when RTCCLK = 32768 Hz)
DIV4096
RTCCLK / 4096 (8 Hz when RTCCLK = 32768 Hz)
DIV2048
RTCCLK / 2048 (16 Hz when RTCCLK = 32768 Hz)
DIV1024
RTCCLK / 1024 (32 Hz when RTCCLK = 32768 Hz)
DIV512
RTCCLK / 512 (64 Hz when RTCCLK = 32768 Hz)
DIV256
RTCCLK / 256 (128 Hz when RTCCLK = 32768 Hz)
Methods
impl TAMPFREQR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_div32768(&self) -> bool
[src]
Checks if the value of the field is DIV32768
pub fn is_div16384(&self) -> bool
[src]
Checks if the value of the field is DIV16384
pub fn is_div8192(&self) -> bool
[src]
Checks if the value of the field is DIV8192
pub fn is_div4096(&self) -> bool
[src]
Checks if the value of the field is DIV4096
pub fn is_div2048(&self) -> bool
[src]
Checks if the value of the field is DIV2048
pub fn is_div1024(&self) -> bool
[src]
Checks if the value of the field is DIV1024
pub fn is_div512(&self) -> bool
[src]
Checks if the value of the field is DIV512
pub fn is_div256(&self) -> bool
[src]
Checks if the value of the field is DIV256
Trait Implementations
impl PartialEq<TAMPFREQR> for TAMPFREQR
[src]
impl Debug for TAMPFREQR
[src]
impl Copy for TAMPFREQR
[src]
impl Clone for TAMPFREQR
[src]
fn clone(&self) -> TAMPFREQR
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self