pub struct CAPTMODE0_R(_);
Expand description
Field CAPTMODE0
reader - Capture Mode Channel 0
Implementations
sourceimpl CAPTMODE0_R
impl CAPTMODE0_R
sourcepub fn variant(&self) -> Option<CAPTMODE0_A>
pub fn variant(&self) -> Option<CAPTMODE0_A>
Get enumerated values variant
sourcepub fn is_default(&self) -> bool
pub fn is_default(&self) -> bool
Checks if the value of the field is DEFAULT
sourcepub fn is_captmin(&self) -> bool
pub fn is_captmin(&self) -> bool
Checks if the value of the field is CAPTMIN
sourcepub fn is_captmax(&self) -> bool
pub fn is_captmax(&self) -> bool
Checks if the value of the field is CAPTMAX
Methods from Deref<Target = FieldReader<u8, CAPTMODE0_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 CAPTMODE0_R
impl Deref for CAPTMODE0_R
type Target = FieldReader<u8, CAPTMODE0_A>
type Target = FieldReader<u8, CAPTMODE0_A>
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for CAPTMODE0_R
impl Send for CAPTMODE0_R
impl Sync for CAPTMODE0_R
impl Unpin for CAPTMODE0_R
impl UnwindSafe for CAPTMODE0_R
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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