Datasheet
78K0/Ix2 CHAPTER 6 16-BIT TIMERS X0 AND X1
R01UH0010EJ0500 Rev.5.00 221
Feb 28, 2012
(3) PWM output operation (TMX0 and TMX1 synchronous start mode)
Output from the two timer outputs of TMX0 and TMX1 (up to 4 outputs) is simultaneously started.
Setting bit 7 (TX0TMC) of TX0CTL1 to 1 starts PWM output.
Setting bit 7 (TX0TMC) of TX0CTL1 to 0 stops PWM output.
Remark This mode is simultaneously used when starting or stopping output.
While the TMX0 and TMX1 are operating, output control is performed according to the setting of each
timer. See (1) PWM output operation (TMXn-only mode, single output) and (2) PWM output
operation (TMXn-only mode, dual output) for the setting of TXnCRm.
Figure 6-31. Example of Register Settings for PWM Output Operation
(TMX0 and TMX1 Synchronous Start Mode) (1/2)
(a) 16-bit timer Xn 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
0TX1CTL0 0 0 0 0
TX1CKS2TX1TMC TX1CKS1 TX1CKS0
(Invalid setting)
0/1 0/1 0/1
Selects count clock
(b) 16-bit timer Xn operation control register 1
0TX0CTL1 0 0 0 0/1
TX0INTPST
TX0PWMCE TX0PWMCINV
TX0PWM
Starts counting when TX0TMC bit = 1.
0: Single output
1: Dual output
000
Using the TOX0n output gate function by
TOH1 output is prohibited.
0TX1CTL1 0 0 0 0/1
TX1PWM
TX1MD1 TX1MD0
001
TMX0 and TMX1 synchronous start mode
TX1PWMCE
Using the TOX1n output gate function by
TOH1 output is prohibited.
0: Single output
1: Dual output
Remark n = 0, 1