Struct alt_stm32f30x_hal::pac::rcc::cfgr2::ADC12PRES_R
source · [−]pub struct ADC12PRES_R(_);
Expand description
Field ADC12PRES
reader - ADC1 and ADC2 prescaler
Implementations
sourceimpl ADC12PRES_R
impl ADC12PRES_R
sourcepub fn variant(&self) -> Option<ADC12PRES_A>
pub fn variant(&self) -> Option<ADC12PRES_A>
Get enumerated values variant
sourcepub fn is_no_clock(&self) -> bool
pub fn is_no_clock(&self) -> bool
Checks if the value of the field is NOCLOCK
Methods from Deref<Target = FieldReader<u8, ADC12PRES_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 ADC12PRES_R
impl Deref for ADC12PRES_R
type Target = FieldReader<u8, ADC12PRES_A>
type Target = FieldReader<u8, ADC12PRES_A>
The resulting type after dereferencing.
sourcefn deref(&self) -> &<ADC12PRES_R as Deref>::Target
fn deref(&self) -> &<ADC12PRES_R as Deref>::Target
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for ADC12PRES_R
impl Send for ADC12PRES_R
impl Sync for ADC12PRES_R
impl Unpin for ADC12PRES_R
impl UnwindSafe for ADC12PRES_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