pub enum PHAPOLR {
_0,
_1,
}
Expand description
Possible values of the field PHAPOL
Variants§
_0
Normal polarity. Phase A input signal is not inverted before identifying the rising and falling edges of this signal.
_1
Inverted polarity. Phase A input signal is inverted before identifying the rising and falling edges of this signal.
Implementations§
source§impl PHAPOLR
impl PHAPOLR
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)