Struct alt_stm32f30x_hal::pac::adc1::difsel::DIFSEL_10_R
source · [−]pub struct DIFSEL_10_R(_);
Expand description
Field DIFSEL_10
reader - Differential mode for channels 15 to 1
Implementations
sourceimpl DIFSEL_10_R
impl DIFSEL_10_R
sourcepub fn variant(&self) -> DIFSEL_10_A
pub fn variant(&self) -> DIFSEL_10_A
Get enumerated values variant
sourcepub fn is_single_ended(&self) -> bool
pub fn is_single_ended(&self) -> bool
Checks if the value of the field is SINGLEENDED
sourcepub fn is_differential(&self) -> bool
pub fn is_differential(&self) -> bool
Checks if the value of the field is DIFFERENTIAL
Methods from Deref<Target = FieldReader<bool, DIFSEL_10_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 DIFSEL_10_R
impl Deref for DIFSEL_10_R
type Target = FieldReader<bool, DIFSEL_10_A>
type Target = FieldReader<bool, DIFSEL_10_A>
The resulting type after dereferencing.
sourcefn deref(&self) -> &<DIFSEL_10_R as Deref>::Target
fn deref(&self) -> &<DIFSEL_10_R as Deref>::Target
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for DIFSEL_10_R
impl Send for DIFSEL_10_R
impl Sync for DIFSEL_10_R
impl Unpin for DIFSEL_10_R
impl UnwindSafe for DIFSEL_10_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