8-bit AVR Microcontrollers

Force Output Compare

In non-PWM waveform generation modes, the match output of the comparator can be forced by writing a '1' to the Force Output Compare (TCCR0C.FOCnx) bit. Forcing compare match will not set the OCFnx Flag or reload/clear the timer, but the OCnx pin will be updated as if a real compare match had occurred (the TCCRnA.COMnx[1:0] bits define whether the OCnx pin is set, cleared or toggled).