Struct alt_stm32f30x_hal::stm32::adc1::cr::ADVREGEN_R
source · [−]pub struct ADVREGEN_R(_);
Expand description
Field ADVREGEN
reader - ADVREGEN
Implementations
sourceimpl ADVREGEN_R
impl ADVREGEN_R
sourcepub fn variant(&self) -> Option<ADVREGEN_A>
pub fn variant(&self) -> Option<ADVREGEN_A>
Get enumerated values variant
sourcepub fn is_intermediate(&self) -> bool
pub fn is_intermediate(&self) -> bool
Checks if the value of the field is INTERMEDIATE
sourcepub fn is_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
Checks if the value of the field is ENABLED
sourcepub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Checks if the value of the field is DISABLED
Methods from Deref<Target = FieldReader<u8, ADVREGEN_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 ADVREGEN_R
impl Deref for ADVREGEN_R
type Target = FieldReader<u8, ADVREGEN_A>
type Target = FieldReader<u8, ADVREGEN_A>
The resulting type after dereferencing.
sourcefn deref(&self) -> &<ADVREGEN_R as Deref>::Target
fn deref(&self) -> &<ADVREGEN_R as Deref>::Target
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for ADVREGEN_R
impl Send for ADVREGEN_R
impl Sync for ADVREGEN_R
impl Unpin for ADVREGEN_R
impl UnwindSafe for ADVREGEN_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