pub enum CRSTR {
DO_NOTHING,
RESET,
}
Expand description
Possible values of the field CRST
Variants§
DO_NOTHING
Do nothing.
RESET
The Timer Counter and the Prescale Counter are synchronously reset on the next positive edge of PCLK. The counters remain reset until TCR[1] is returned to zero.
Implementations§
source§impl CRSTR
impl CRSTR
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_do_nothing(&self) -> bool
pub fn is_do_nothing(&self) -> bool
Checks if the value of the field is DO_NOTHING