pub enum INVR {
NOT_INVERTED,
INVERTED,
}
Expand description
Possible values of the field INV
Variants§
NOT_INVERTED
Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0).
INVERTED
Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1).
Implementations§
source§impl INVR
impl INVR
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)
sourcepub fn is_not_inverted(&self) -> bool
pub fn is_not_inverted(&self) -> bool
Checks if the value of the field is NOT_INVERTED
sourcepub fn is_inverted(&self) -> bool
pub fn is_inverted(&self) -> bool
Checks if the value of the field is INVERTED