23.3.4.4.5 Port Override for Waveform Generation
The TCEn will override the port pin values
when the compare channel is enabled (CMPnEN = 1
in the TCEn.CTRLB
register) and a Waveform Generation mode is selected.
The timer/counter compare channel will
override the port pin output value (OUT) on the corresponding port pin. Enabling inverted
I/O on the port pin (INVEN = 1
in the PORTx.PINn register) inverts the
corresponding WG output.