pub enum DATAINVR {
POSITIVE,
NEGATIVE,
}
Expand description
Possible values of the field DATAINV
Variants§
POSITIVE
Logical data from the data register are send/received in positive/direct logic
NEGATIVE
Logical data from the data register are send/received in negative/inverse logic
Implementations§
source§impl DATAINVR
impl DATAINVR
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_positive(&self) -> bool
pub fn is_positive(&self) -> bool
Checks if the value of the field is POSITIVE
sourcepub fn is_negative(&self) -> bool
pub fn is_negative(&self) -> bool
Checks if the value of the field is NEGATIVE