pub enum CENR {
THE_COUNTERS_ARE_DIS,
THE_TIMER_COUNTER_AN,
}
Expand description
Possible values of the field CEN
Variants§
THE_COUNTERS_ARE_DIS
The counters are disabled.
THE_TIMER_COUNTER_AN
The Timer Counter and Prescale Counter are enabled for counting.
Implementations§
source§impl CENR
impl CENR
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_the_counters_are_dis(&self) -> bool
pub fn is_the_counters_are_dis(&self) -> bool
Checks if the value of the field is THE_COUNTERS_ARE_DIS
sourcepub fn is_the_timer_counter_an(&self) -> bool
pub fn is_the_timer_counter_an(&self) -> bool
Checks if the value of the field is THE_TIMER_COUNTER_AN