Datasheet
78K0/Ix2 CHAPTER 6 16-BIT TIMERS X0 AND X1
R01UH0010EJ0500 Rev.5.00 231
Feb 28, 2012
(7) PWM output operation (PWM output from TOX1n when TOH1 output is at high level)
A square wave is output from the TOX1n pin by combining 8-bit timer H1 and 16-bit timer X1, only when the TOH1
output is at high level.
See (1) PWM output operation (single output) through (4) PWM output operation (TMX0 and TMX1
synchronous start mode) for the setting of outputting a square wave.
Remarks 1. n = 0, 1
2. For the setting of TOH1 output, see CHAPTER 9 8-BIT TIMER H1.
Figure 6-39. Example of Register Settings for PWM Output Operation (TMX1-Only Operation (Dual Output), PWM
Output from TOX10 and TOX11 When TOH1 Output Is at High Level) (1/2)
(a) 16-bit timer X1 operation control register 0
1TX1CTL0 0 0 0 0
TX1CKS2TX1TMC TX1CKS1 TX1CKS0
0/1 0/1 0/1
Selects count clock
Starts timer count operation
(b) 16-bit timer Xn operation control register 1
0/1TX0CTL1 0 0/1 0 0/1
TX0INTPST
TX0PWMCE TX0PWMCINV
TX0PWM
000
0: TMX0 Single output
1: TMX0 Dual output
Performs PWM output from TOXmn pin
when TOH1 output is high level.
0: Using the TOX0n output gate function by
TOH1 output is prohibited.
1: Using the TOX0n output gate function by
TOH1 output is enabled.
0: Starts counting when TX0TMC bit = 1.
1: Starts timer counting when TX0TMC bit = 1
and INTP0 rising edge is detected.
0TX1CTL1 0 1 0 1
TX1PWM
TX1MD1 TX1MD0
000
TMX1-only start mode
Dual output
TX1PWMCE
Using the TOX1n output gate function by
TOH1 output is enabled.
Remark n = 0, 1, mn = 00, 01, 10, 11