pub enum ACRENR {
_0,
_1,
}
Expand description
Possible values of the field ACREN
Variants§
_0
Range function disabled. Only the compare value 1 register (CV1) is compared.
_1
Range function enabled. Both compare value registers (CV1 and CV2) are compared.
Implementations§
source§impl ACRENR
impl ACRENR
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)