46 / 98 page

MB90820 Series
46
6.
16-bit PPG Timer ( x 3)
The 16-bit PPG timer consists of a 16-bit down counter, prescaler, 16-bit period setting register, 16-bit duty
setting register, 16-bit control register and a PPG output pin. This module can be used to output pulses syn-
chronized by software trigger or GATE signal from Multi-functional timer, refer to “7. Multi-functional Timer”.
Features of 16-bit PPG timer :
• Two operating mode : PWM and One-shot mode
• 8 types of counter operation clock (
φ, φ/2, φ/4, φ/8, φ/16, φ/32, φ/64, φ/128) can be selected
• Interrupt is generated when trigger signal arrived, or counter borrow, or change of PPG output
• Supports for EI2OS
(1) Register configuration
(Continued)
15
14
13
12
11
10
9
8
Bit
PPG Period Setting Register (Upper)
Address: ch0 00003BH
ch1 000043H
ch2 00004BH
PCSR0 to
W
X
W
X
W
X
W
X
W
X
W
X
W
X
W
X
Initial value
Read/write
CS15
CS14
CS13
CS12
CS11
CS10
CS09 CS08
7
6
54
321
0
Bit
PPG Control Status Register (Lower)
15
14
13
12
11
10
9
8
Bit
PPG Control Status Register (Upper)
Address: ch0 00003EH
ch1 000046H
ch2 00004EH
PCNTL0 to
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Initial value
Read/write
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Initial value
Read/write
PCNTH0 to
Address: ch0 00003FH
ch1 000047H
ch2 00004FH
CNTE
STGR MDSE
RTRG
CKS1
CKS0 PGMS
CKS2
IREN
IRQF
IRS1
IRS0
POEN OSEL
15
14
13
12
11
10
9
8
PPG Duty Setting Register (Upper)
7
6
5
4
3
2
1
0
Bit
PPG Duty Setting Register (Lower)
Address: ch0 00003DH
ch1 000045H
ch2 00004DH
PDUT0 to
W
X
W
X
W
X
W
X
W
X
W
X
W
X
W
X
Initial value
Read/write
Address: ch0 00003CH
ch1 000044H
ch2 00004CH
W
X
W
X
W
X
W
X
W
X
W
X
W
X
W
X
Initial value
Read/write
PDUT0 to
DU15
DU14
DU13
DU12
DU11
DU10 DU09
DU08
DU07
DU06
DU05
DU04
DU03 DU02
DU01
DU00
Bit
XX
PCNTH2
PCNTL2
PDUT2
PDUT2
PCSR2