Struct stm32l4xx_hal::stm32::rtc::tampcr::TAMP1TRG_R
source · [−]pub struct TAMP1TRG_R(_);
Expand description
Field TAMP1TRG
reader - Active level for tamper 1
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 TAMP1TRG_R
impl Deref for TAMP1TRG_R
type Target = FieldReader<bool, bool>
type Target = FieldReader<bool, bool>
The resulting type after dereferencing.
sourcefn deref(&self) -> &<TAMP1TRG_R as Deref>::Target
fn deref(&self) -> &<TAMP1TRG_R as Deref>::Target
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for TAMP1TRG_R
impl Send for TAMP1TRG_R
impl Sync for TAMP1TRG_R
impl Unpin for TAMP1TRG_R
impl UnwindSafe for TAMP1TRG_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