Struct alt_stm32f30x_hal::device::comp::comp6_csr::COMP6INMSEL_R
source · [−]pub struct COMP6INMSEL_R(_);
Expand description
Field COMP6INMSEL
reader - Comparator 6 inverting input selection
Implementations
sourceimpl COMP6INMSEL_R
impl COMP6INMSEL_R
sourcepub fn variant(&self) -> Option<COMP6INMSEL_A>
pub fn variant(&self) -> Option<COMP6INMSEL_A>
Get enumerated values variant
sourcepub fn is_one_quarter_vref(&self) -> bool
pub fn is_one_quarter_vref(&self) -> bool
Checks if the value of the field is ONEQUARTERVREF
sourcepub fn is_one_half_vref(&self) -> bool
pub fn is_one_half_vref(&self) -> bool
Checks if the value of the field is ONEHALFVREF
sourcepub fn is_three_quarter_vref(&self) -> bool
pub fn is_three_quarter_vref(&self) -> bool
Checks if the value of the field is THREEQUARTERVREF
sourcepub fn is_pa4_dac1_ch1(&self) -> bool
pub fn is_pa4_dac1_ch1(&self) -> bool
Checks if the value of the field is PA4_DAC1_CH1
sourcepub fn is_dac1_ch2(&self) -> bool
pub fn is_dac1_ch2(&self) -> bool
Checks if the value of the field is DAC1_CH2
Methods from Deref<Target = FieldReader<u8, COMP6INMSEL_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 COMP6INMSEL_R
impl Deref for COMP6INMSEL_R
type Target = FieldReader<u8, COMP6INMSEL_A>
type Target = FieldReader<u8, COMP6INMSEL_A>
The resulting type after dereferencing.
sourcefn deref(&self) -> &<COMP6INMSEL_R as Deref>::Target
fn deref(&self) -> &<COMP6INMSEL_R as Deref>::Target
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for COMP6INMSEL_R
impl Send for COMP6INMSEL_R
impl Sync for COMP6INMSEL_R
impl Unpin for COMP6INMSEL_R
impl UnwindSafe for COMP6INMSEL_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