Datasheet

78K0/Ix2 CHAPTER 6 16-BIT TIMERS X0 AND X1
R01UH0010EJ0500 Rev.5.00 233
Feb 28, 2012
(8) PWM output operation (PWM output from TOX00, TOX01, TOX10, and TOX11 when TOH1 output is at high
level)
A square wave is output from the TOX00, TOX01, TOX10, and TOX11 pins by combining 8-bit timer H1 and 16-bit
timers X0 and 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.
Remark For the setting of TOH1 output, see CHAPTER 9 8-BIT TIMER H1.
Figure 6-41. Example of Register Settings for PWM Output Operation
(TMX0 and TMX1 synchronous start/clear mode, PWM Output
from TOX00, TOX01, TOX10, and TOX11 When TOH1 Output Is at High Level) (1/2)
(a) 16-bit timer X0 operation control register 0
1TX0CTL0 0 0 0 0
TX0CKS2TX0TMC TX0CKS1 TX0CKS0
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 1 0 1
TX0INTPST
TX0PWMCE TX0PWMCINV
TX0PWM
000
TMX0 Dual output
Performs PWM output from TOXmn pin
when TOH1 output is high level.
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
010
Dual output
TX1PWMCE
Using the TOX1n output gate function by
TOH1 output is enabled.
TMX0 and TMX1 synchronous
start/clear mode
Remark n = 0, 1, mn = 00, 01, 10, 11