Struct stm32f4xx_hal::pac::rtc::tafcr::TAMP2TRG_R
source · [−]pub struct TAMP2TRG_R(_);
Expand description
Field TAMP2TRG
reader - Active level for tamper 2
Methods from Deref<Target = FieldReader<bool, bool>>
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 TAMP2TRG_R
impl Deref for TAMP2TRG_R
type Target = FieldReader<bool, bool>
type Target = FieldReader<bool, bool>
The resulting type after dereferencing.
sourcefn deref(&self) -> &<TAMP2TRG_R as Deref>::Target
fn deref(&self) -> &<TAMP2TRG_R as Deref>::Target
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for TAMP2TRG_R
impl Send for TAMP2TRG_R
impl Sync for TAMP2TRG_R
impl Unpin for TAMP2TRG_R
impl UnwindSafe for TAMP2TRG_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