pub struct INT_CTRL_R(/* private fields */);Expand description
Field INT_CTRL reader - Comparator interrupt type selector:.
Implementations§
Source§impl INT_CTRL_R
impl INT_CTRL_R
Sourcepub fn variant(&self) -> INT_CTRL_A
pub fn variant(&self) -> INT_CTRL_A
Get enumerated values variant
Sourcepub fn is_edge_disable(&self) -> bool
pub fn is_edge_disable(&self) -> bool
Checks if the value of the field is EDGE_DISABLE
Sourcepub fn is_lvl_disable(&self) -> bool
pub fn is_lvl_disable(&self) -> bool
Checks if the value of the field is LVL_DISABLE
Sourcepub fn is_edge_rising(&self) -> bool
pub fn is_edge_rising(&self) -> bool
Checks if the value of the field is EDGE_RISING
Sourcepub fn is_lvl_high(&self) -> bool
pub fn is_lvl_high(&self) -> bool
Checks if the value of the field is LVL_HIGH
Sourcepub fn is_edge_falling(&self) -> bool
pub fn is_edge_falling(&self) -> bool
Checks if the value of the field is EDGE_FALLING
Sourcepub fn is_lvl_low(&self) -> bool
pub fn is_lvl_low(&self) -> bool
Checks if the value of the field is LVL_LOW
Sourcepub fn is_edge_both(&self) -> bool
pub fn is_edge_both(&self) -> bool
Checks if the value of the field is EDGE_BOTH
Sourcepub fn is_lvl_dis2(&self) -> bool
pub fn is_lvl_dis2(&self) -> bool
Checks if the value of the field is LVL_DIS2
Methods from Deref<Target = FieldReader<u8, INT_CTRL_A>>§
Trait Implementations§
Source§impl Deref for INT_CTRL_R
impl Deref for INT_CTRL_R
Source§type Target = FieldReader<u8, INT_CTRL_A>
type Target = FieldReader<u8, INT_CTRL_A>
The resulting type after dereferencing.
Auto Trait Implementations§
impl Freeze for INT_CTRL_R
impl RefUnwindSafe for INT_CTRL_R
impl Send for INT_CTRL_R
impl Sync for INT_CTRL_R
impl Unpin for INT_CTRL_R
impl UnwindSafe for INT_CTRL_R
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more