pub enum CTMW {
TIMER_MODE_EVERY_RI,
RISING,
FALLING,
BOTH,
}
Expand description
Values that can be written to the field CTM
Variants§
TIMER_MODE_EVERY_RI
Timer Mode: every rising PCLK edge
RISING
Counter Mode: TC is incremented on rising edges on the CAP input selected by bits 3:2.
FALLING
Counter Mode: TC is incremented on falling edges on the CAP input selected by bits 3:2.
BOTH
Counter Mode: TC is incremented on both edges on the CAP input selected by bits 3:2.