![](http://datasheet.mmic.net.cn/330000/MB90F562_datasheet_16437954/MB90F562_336.png)
312
CHAPTER 12 MULTI-FUNCTION TIMER
MB90560 series
12.3.4 Registers of 8/16-bit PPG Timer
12.3.4.2 PPG Control Register (PPGC0~5)
PPG control registers (PPGC0~5) are used to control the operation mode, interrupt
request enable, interrupt request flag, output enable, start selection, operation enable
and the output level polarity for PPG0~5 timers.
I
PPG1/3/5 control register (PPGC1/3/5)
Figure 12.3.4.2-1 PPG1/3/5 Control Register (PPGC1/3/5)
Address
Bit 15
Bit 14
Bit 13
Bit 12
Bit 11
Bit 10
Bit 9
Bit 8
Initial value
ch1: 00003D
H
ch3: 000045
H
ch5: 00004D
H
PEN1
SST1
POE1
PIE1
PUF1
MD01
MD00
Reserved
00000001
B
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
M0D1
MOD0
PPG1/3/5 timer operation mode bit
0
0
8-bit PPG 2ch independent mode
0
1
8 + 8-bit PPG mode
1
0
Reserved (setting inhibited)
1
1
16-bit PPG 1ch mode
PUF1
Interrupt request flag bit for PPG1/3/5
Read
Write
0
No overflow of PPG1/3/5 timer
Clear this bit
1
Overflow of PPG1/3/5 timer
No effect
PIE1
Interrupt request enable bit for PPG1/3/5
0
Disable interrupt request for PPG1/3/5
1
Enable interrupt request for PPG1/3/5
POE1
Output enable bit for PPG1/3/5
0
General-purpose port (P42/44/46)
1
PPG output port for PPG1/3/5
SST1
Start select bit for PPG1/3/5
0
PPG1/3/5 will be operated when PEN1=”1”.
1
PPG1/3/5 will be operated when GATE=”H”.
PEN1
Operation enable bit for PPG1/3/5
0
Sop operation for PPG1/3/5
1
Start operation for PPG1/3/5
R/W : Read and Write
: Initial value