Struct alt_stm32f30x_hal::device::rtc::tafcr::TAMPFREQ_R
source · [−]pub struct TAMPFREQ_R(_);
Expand description
Field TAMPFREQ
reader - Tamper sampling frequency
Implementations
sourceimpl TAMPFREQ_R
impl TAMPFREQ_R
sourcepub fn variant(&self) -> TAMPFREQ_A
pub fn variant(&self) -> TAMPFREQ_A
Get enumerated values variant
sourcepub fn is_div32768(&self) -> bool
pub fn is_div32768(&self) -> bool
Checks if the value of the field is DIV32768
sourcepub fn is_div16384(&self) -> bool
pub fn is_div16384(&self) -> bool
Checks if the value of the field is DIV16384
sourcepub fn is_div8192(&self) -> bool
pub fn is_div8192(&self) -> bool
Checks if the value of the field is DIV8192
sourcepub fn is_div4096(&self) -> bool
pub fn is_div4096(&self) -> bool
Checks if the value of the field is DIV4096
sourcepub fn is_div2048(&self) -> bool
pub fn is_div2048(&self) -> bool
Checks if the value of the field is DIV2048
sourcepub fn is_div1024(&self) -> bool
pub fn is_div1024(&self) -> bool
Checks if the value of the field is DIV1024
Methods from Deref<Target = FieldReader<u8, TAMPFREQ_A>>
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0).
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1).
Trait Implementations
sourceimpl Deref for TAMPFREQ_R
impl Deref for TAMPFREQ_R
type Target = FieldReader<u8, TAMPFREQ_A>
type Target = FieldReader<u8, TAMPFREQ_A>
The resulting type after dereferencing.
sourcefn deref(&self) -> &<TAMPFREQ_R as Deref>::Target
fn deref(&self) -> &<TAMPFREQ_R as Deref>::Target
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for TAMPFREQ_R
impl Send for TAMPFREQ_R
impl Sync for TAMPFREQ_R
impl Unpin for TAMPFREQ_R
impl UnwindSafe for TAMPFREQ_R
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