Enum avr_device::atmega328p::tc2::tccr2a::COM2B_A [−][src]
#[repr(u8)]
pub enum COM2B_A {
DISCONNECTED,
MATCH_TOGGLE,
MATCH_CLEAR,
MATCH_SET,
}Expand description
Compare Output B Mode
Value on reset: 0
Variants
0: Normal port operation, OCix disconnected
1: Toggle OCix on Compare Match (Might depend on WGM)
2: Clear OCix on Compare Match (If PWM is enabled, OCix is set at TOP)
3: Set OCix on Compare Match (If PWM is enabled, OCix is cleared at TOP)