
11. PPG (Programmable Pulse Generator)
MC97F6108A User’s manual
114
11.8.7
PPG off-time max/min limitation
PPG off-time can be limited by OFFCR register setting to prevent that PPG off-time is too long or too
short. If PPG off-time is too long and the start source is not received, PPG starts automatically after a
certain period of time. PPG max off-time is set to the OFFMAXHR/OFFMAXLR registers. Off-time max
limitation is enabled by OFFMAX in the OFFCR register.
To prevent PPG off-time from being too short, C0_FLAG is not generated during specified time after
PPG off. PPG min off-time is set to the OFFMINHR/OFFMINLR registers and off-time min limitation is
enabled by OFFMIN bit in the OFFCR register.
NOTES:
1.
Do not change the off-time max/min registers, while OFMAX='1' or OFMIN='1'.
2.
Off-time max/min registers must satisfy the following condition.
3.
{OFFMAXHR,OFFMAXLR} > {OFFMINHR,OFFMINLR}
OFFMAX
OFFMIN
OFMAXC4DIS
-
-
-
-
-
OFFCR
ADDRESS : B9
H
INITIAL VALUE : 0-00_0000
b
PPG off-time
16-bit Counter
OFMAX
OFFMAXHR,OFFMAXLR
(16-bit)
PPGH/L (16-bit Counter)
clear
start
PPGO
S
R
Q
PERIOD
Compare REGISTER
DUTY
Compare REGISTER
control
logic
P
R
E
S
C
A
L
E
R
÷ 1
÷ 4
÷ 8
÷ 16
÷ 64
÷ 256
÷ 1024
÷ 2048
PPGEN
3
PPGCK[2:0]
f
X
000
001
010
011
100
101
110
111
start
P
P
G
C
L
K
min detect
max detect
PPGST
OFMIN
O
F
C
L
K
PPGMD
CPOUT0 detect
C0_FLAG
Figure 57. PPG Off-time Max/Min Limitation Block Diagram