Datasheet
Section 12 8-Bit Timers
Rev. 4.00 Sep 27, 2006 page 355 of 1130
REJ09B0327-0400
Bits 3 to 0—Output Select 3 to 0 (OS3 to OS0): These bits specify how the timer output level is
to be changed by a compare-match of TCOR and TCNT.
OS3 and OS2 select the effect of compare-match B on the output level, OS1 and OS0 select the
effect of compare-match A on the output level, and both of them can be controlled independently.
Note, however, that priorities are set such that: trigger output > 1 output > 0 output. If compare-
matches occur simultaneously, the output changes according to the compare-match with the higher
priority.
Timer output is disabled when bits OS3 to OS0 are all 0.
After a reset, the timer output is 0 until the first compare-match occurs.
Bit 3 Bit 2
OS3 OS2 Description
0 0 No change when compare-match B occurs (Initial value)
1 0 is output when compare-match B occurs
1 0 1 is output when compare-match B occurs
1 Output is inverted when compare-match B occurs (toggle output)
Bit 1 Bit 0
OS1 OS0 Description
0 0 No change when compare-match A occurs (Initial value)
1 0 is output when compare-match A occurs
1 0 1 is output when compare-match A occurs
1 Output is inverted when compare-match A occurs (toggle output)