Struct alt_stm32f30x_hal::device::comp::comp2_csr::COMP2OUTSEL_R
source · [−]pub struct COMP2OUTSEL_R(_);
Expand description
Field COMP2OUTSEL
reader - Comparator 2 output selection
Implementations
sourceimpl COMP2OUTSEL_R
impl COMP2OUTSEL_R
sourcepub fn variant(&self) -> Option<COMP2OUTSEL_A>
pub fn variant(&self) -> Option<COMP2OUTSEL_A>
Get enumerated values variant
sourcepub fn is_no_selection(&self) -> bool
pub fn is_no_selection(&self) -> bool
Checks if the value of the field is NOSELECTION
sourcepub fn is_timer1break_input(&self) -> bool
pub fn is_timer1break_input(&self) -> bool
Checks if the value of the field is TIMER1BREAKINPUT
sourcepub fn is_timer1break_input2(&self) -> bool
pub fn is_timer1break_input2(&self) -> bool
Checks if the value of the field is TIMER1BREAKINPUT2
sourcepub fn is_timer1ocref_clear_input(&self) -> bool
pub fn is_timer1ocref_clear_input(&self) -> bool
Checks if the value of the field is TIMER1OCREFCLEARINPUT
sourcepub fn is_timer1input_capture1(&self) -> bool
pub fn is_timer1input_capture1(&self) -> bool
Checks if the value of the field is TIMER1INPUTCAPTURE1
sourcepub fn is_timer2input_capture4(&self) -> bool
pub fn is_timer2input_capture4(&self) -> bool
Checks if the value of the field is TIMER2INPUTCAPTURE4
sourcepub fn is_timer2ocref_clear_input(&self) -> bool
pub fn is_timer2ocref_clear_input(&self) -> bool
Checks if the value of the field is TIMER2OCREFCLEARINPUT
sourcepub fn is_timer3input_capture1(&self) -> bool
pub fn is_timer3input_capture1(&self) -> bool
Checks if the value of the field is TIMER3INPUTCAPTURE1
sourcepub fn is_timer3ocref_clear_input(&self) -> bool
pub fn is_timer3ocref_clear_input(&self) -> bool
Checks if the value of the field is TIMER3OCREFCLEARINPUT
Methods from Deref<Target = FieldReader<u8, COMP2OUTSEL_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 COMP2OUTSEL_R
impl Deref for COMP2OUTSEL_R
type Target = FieldReader<u8, COMP2OUTSEL_A>
type Target = FieldReader<u8, COMP2OUTSEL_A>
The resulting type after dereferencing.
sourcefn deref(&self) -> &<COMP2OUTSEL_R as Deref>::Target
fn deref(&self) -> &<COMP2OUTSEL_R as Deref>::Target
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for COMP2OUTSEL_R
impl Send for COMP2OUTSEL_R
impl Sync for COMP2OUTSEL_R
impl Unpin for COMP2OUTSEL_R
impl UnwindSafe for COMP2OUTSEL_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