Setting Of Control Registers For Ppg Output Operation - NEC PD78212 User Manual

8-bit single-chip microcomputer sub-series
Table of Contents

Advertisement

µ PD78214 Sub-Series
Fig. 7-112 Setting of Control Registers for PPG Output Operation
TMC1
PRM1
CRC2
TOC
PMC3
200
(a) Timer control register 1 (TMC1)
7
6
5
4
1
0
0
0
(b) Prescaler mode register 1 (PRM1)
7
6
5
4
PRS23
PRS22 PRS21 PRS20
(c) Capture/compare control register 2 (CRC2)
7
6
5
4
1
1
0
1
(d) Timer output control register (TOC)
7
6
5
4
×
×
1
0
(e) Port 3 mode control register (PMC3)
7
6
5
4
×
×
×
1
3
2
1
0
×
×
0
0
Normal mode
Overflow flag
Enables counting for TM2
3
2
1
0
×
×
×
×
Specifies count clock
(x/f
3
2
1
0
1
0
0
0
Clears when TM2 coincides with CR21
Disables clearing when TM2 is captured
by CR22 register
TO2 is used for PPG output
3
2
1
0
×
×
×
×
TO2 for high-active PWM signal output
Enables PPG output for TO2
3
2
1
0
×
×
×
×
Specifies P36 pin as TO2 output
; where x = 16, 32, 64, 128, 256 or 512)
CLK

Advertisement

Table of Contents
loading

Table of Contents