pub struct PDEN_COMP_R(_);
Expand description
Field PDEN_COMP
reader - Controls power to Analog Comparator.
Implementations
sourceimpl PDEN_COMP_R
impl PDEN_COMP_R
sourcepub fn variant(&self) -> PDEN_COMP_A
pub fn variant(&self) -> PDEN_COMP_A
Get enumerated values variant
sourcepub fn is_poweredon(&self) -> bool
pub fn is_poweredon(&self) -> bool
Checks if the value of the field is POWEREDON
sourcepub fn is_poweredoff(&self) -> bool
pub fn is_poweredoff(&self) -> bool
Checks if the value of the field is POWEREDOFF
Methods from Deref<Target = FieldReader<bool, PDEN_COMP_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 PDEN_COMP_R
impl Deref for PDEN_COMP_R
type Target = FieldReader<bool, PDEN_COMP_A>
type Target = FieldReader<bool, PDEN_COMP_A>
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for PDEN_COMP_R
impl Send for PDEN_COMP_R
impl Sync for PDEN_COMP_R
impl Unpin for PDEN_COMP_R
impl UnwindSafe for PDEN_COMP_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