h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 372

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 12 8-Bit Timers
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
OS3
0
1
Bit 1
OS1
0
1
Rev. 4.00 Jun 06, 2006 page 318 of 1004
REJ09B0301-0400
Bit 2
OS2
0
1
0
1
Bit 0
OS0
0
1
0
1
Description
No change when compare-match B occurs
0 is output when compare-match B occurs
1 is output when compare-match B occurs
Output is inverted when compare-match B occurs (toggle output)
Description
No change when compare-match A occurs
0 is output when compare-match A occurs
1 is output when compare-match A occurs
Output is inverted when compare-match A occurs (toggle output)
(Initial value)
(Initial value)

Related parts for h8s-2138