Struct alt_stm32f30x_hal::device::comp::comp4_csr::COMP4_BLANKING_R
source · [−]pub struct COMP4_BLANKING_R(_);
Expand description
Field COMP4_BLANKING
reader - Comparator 4 blanking source
Implementations
sourceimpl COMP4_BLANKING_R
impl COMP4_BLANKING_R
sourcepub fn variant(&self) -> Option<COMP4_BLANKING_A>
pub fn variant(&self) -> Option<COMP4_BLANKING_A>
Get enumerated values variant
sourcepub fn is_no_blanking(&self) -> bool
pub fn is_no_blanking(&self) -> bool
Checks if the value of the field is NOBLANKING
sourcepub fn is_tim3oc4(&self) -> bool
pub fn is_tim3oc4(&self) -> bool
Checks if the value of the field is TIM3OC4
sourcepub fn is_tim15oc1(&self) -> bool
pub fn is_tim15oc1(&self) -> bool
Checks if the value of the field is TIM15OC1
Methods from Deref<Target = FieldReader<u8, COMP4_BLANKING_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 COMP4_BLANKING_R
impl Deref for COMP4_BLANKING_R
type Target = FieldReader<u8, COMP4_BLANKING_A>
type Target = FieldReader<u8, COMP4_BLANKING_A>
The resulting type after dereferencing.
sourcefn deref(&self) -> &<COMP4_BLANKING_R as Deref>::Target
fn deref(&self) -> &<COMP4_BLANKING_R as Deref>::Target
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for COMP4_BLANKING_R
impl Send for COMP4_BLANKING_R
impl Sync for COMP4_BLANKING_R
impl Unpin for COMP4_BLANKING_R
impl UnwindSafe for COMP4_BLANKING_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