22.3.3.6 Port Override

Writing the Compare/Capture Output Enable (CCMPEN) bit in TCBn.CTRLB to ‘1’ enables the waveform output making the waveform output available on the corresponding pin, overriding the value in the corresponding PORT output register.