NEC PD78214 User Manual
Page 227

198
µ
PD78214 Sub-Series
Fig. 7-108 Setting of Control Registers for PWM Output Operation
(a) Timer control register 1 (TMC1)
(b) Prescaler mode register 1 (PRM1)
(c) Capture/compare control register 2 (CRC2)
7
6
5
4
3
2
1
0
1
CRC2
0
0
1
0
0
0
0
Disables clearing TM2
Both TO2 and TO3 are used for PWM output
(d) Timer output control register (TOC)
(e) Port 3 mode control register (PMC3)
7
6
5
4
3
2
1
0
1
0
0
0
×
0
0
TMC1
×
Normal mode
Overflow flag
Enables counting for TM2
7
6
5
4
3
2
1
0
PRS23
×
PRM1
Specifies count clock
(x/f
CLK
; where x = 16, 32, 64, 128, 256 or 512)
PRS22 PRS21 PRS20
Ч
Ч
Ч
7
6
5
4
3
2
1
0
1
TOC
0
Ч
Ч
Ч
Ч
Ч
Ч
TO3 for high-active PWM signal output
Enables PWM output for TO3
7
6
5
4
3
2
1
0
1
PMC3
Ч
Ч
Ч
Ч
Ч
Ч
Ч
Specifies P37 pin as TO3 output