Struct alt_stm32f30x_hal::pac::rtc::tafcr::TAMPPRCH_R
source · [−]pub struct TAMPPRCH_R(_);
Expand description
Field TAMPPRCH
reader - Tamper precharge duration
Implementations
sourceimpl TAMPPRCH_R
impl TAMPPRCH_R
sourcepub fn variant(&self) -> TAMPPRCH_A
pub fn variant(&self) -> TAMPPRCH_A
Get enumerated values variant
sourcepub fn is_cycles1(&self) -> bool
pub fn is_cycles1(&self) -> bool
Checks if the value of the field is CYCLES1
sourcepub fn is_cycles2(&self) -> bool
pub fn is_cycles2(&self) -> bool
Checks if the value of the field is CYCLES2
sourcepub fn is_cycles4(&self) -> bool
pub fn is_cycles4(&self) -> bool
Checks if the value of the field is CYCLES4
sourcepub fn is_cycles8(&self) -> bool
pub fn is_cycles8(&self) -> bool
Checks if the value of the field is CYCLES8
Methods from Deref<Target = FieldReader<u8, TAMPPRCH_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 TAMPPRCH_R
impl Deref for TAMPPRCH_R
type Target = FieldReader<u8, TAMPPRCH_A>
type Target = FieldReader<u8, TAMPPRCH_A>
The resulting type after dereferencing.
sourcefn deref(&self) -> &<TAMPPRCH_R as Deref>::Target
fn deref(&self) -> &<TAMPPRCH_R as Deref>::Target
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for TAMPPRCH_R
impl Send for TAMPPRCH_R
impl Sync for TAMPPRCH_R
impl Unpin for TAMPPRCH_R
impl UnwindSafe for TAMPPRCH_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