pub struct SMP0_R(_);
Expand description
Field SMP0
reader - Channel 0 sampling time selection
Implementations
sourceimpl SMP0_R
impl SMP0_R
sourcepub fn is_cycles3(&self) -> bool
pub fn is_cycles3(&self) -> bool
Checks if the value of the field is CYCLES3
sourcepub fn is_cycles15(&self) -> bool
pub fn is_cycles15(&self) -> bool
Checks if the value of the field is CYCLES15
sourcepub fn is_cycles28(&self) -> bool
pub fn is_cycles28(&self) -> bool
Checks if the value of the field is CYCLES28
sourcepub fn is_cycles56(&self) -> bool
pub fn is_cycles56(&self) -> bool
Checks if the value of the field is CYCLES56
sourcepub fn is_cycles84(&self) -> bool
pub fn is_cycles84(&self) -> bool
Checks if the value of the field is CYCLES84
sourcepub fn is_cycles112(&self) -> bool
pub fn is_cycles112(&self) -> bool
Checks if the value of the field is CYCLES112
sourcepub fn is_cycles144(&self) -> bool
pub fn is_cycles144(&self) -> bool
Checks if the value of the field is CYCLES144
sourcepub fn is_cycles480(&self) -> bool
pub fn is_cycles480(&self) -> bool
Checks if the value of the field is CYCLES480
Methods from Deref<Target = FieldReader<u8, SMP0_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
Auto Trait Implementations
impl RefUnwindSafe for SMP0_R
impl Send for SMP0_R
impl Sync for SMP0_R
impl Unpin for SMP0_R
impl UnwindSafe for SMP0_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