![background image](http://html.mh-extra.com/html/fujitsu/fr60lite/fr60lite_hardware-manual_119677194.webp)
179
CHAPTER 9 PPG (Programmable Pulse Generator)
■
Count Clock Selection
The count clock to be used for this block operation uses the input for the peripheral clock and timebase
counter and can be selected from one of the following four types of count clock inputs.
The count clock operates as shown below.
Note that the first count cycle may become out of synchronization if the PPG side is started, in the 8-bit
pre 8-bit PPG mode and the 16-bit pre 16-bit PPG mode, and when the prescaler side is in
the operating state and the PPG side is in the stop state.
■
Control of Pulse Pin Output
The pulse output generated by operating this module can be outputted from external pins (PPG0 to PPG15).
In the 16-bit PPG mode, the same output can be obtained from allowing either external pin output because
PPG (m) and PPG (m + 1) output the same waveform. (m = 0, 2, 4, 6, 8, 10, 12, 14)
In the 8-bit pre 8-bit PPG mode and the 16-bit pre 16-bit PPG mode, the 8-bit prescaler
toggle waveform is outputted on the prescaler side, and the 8-bit PPG waveform is outputted on the PPG
side. Figure 9.4-2 shows an example of the output waveform in this mode.
Figure 9.4-2 Output Waveform of 8 + 8 PPG Output Operation
PPGC0 to PPGC15 Registers
Count Clock Operation
PCS1
PCS0
0
0
One count per peripheral clock
0
1
One count per 4 cycles of peripheral clock
1
0
One count per 16 cycles of peripheral clock
1
1
One count per 64 cycles of peripheral clock
L1 : PRLL v
a
l
u
e for ch1
a
nd
PRLH v
a
l
u
e for ch1
Pl1 = T
×
(L1 + 1)
L0 : PRLL v
a
l
u
e for ch0
Ph1 = T
×
(L1 + 1)
H0 : PRLH v
a
l
u
e for ch0
Pl0 = T
×
(L1 + 1)
×
(L0 + 1)
T: Inp
u
t clock cycle
Ph0 = T
×
(L1 + 1)
×
(H0 + 1)
Ph0: High p
u
l
s
e width for PPG0
Pl0: Low p
u
l
s
e width for PPG0
Note: It i
s
recommended to
s
et
the
sa
me v
a
l
u
e to the PRLL
for ch1
a
nd PRLH for ch1.
Ph1: High p
u
l
s
e width for PPG1
Pl1: Low p
u
l
s
e width for PPG1
Ph0
Pl0
PPG1
PPG0
Ph1
Pl1
Summary of Contents for FR60Lite
Page 3: ......
Page 5: ......
Page 115: ...100 CHAPTER 3 CPU AND CONTROL UNITS ...
Page 127: ...112 CHAPTER 4 I O PORTS ...
Page 143: ...128 CHAPTER 5 INTERRUPT CONTROLLER ...
Page 155: ...140 CHAPTER 6 EXTERNAL INTERRUPT AND NMI CONTROLLER ...
Page 197: ...182 CHAPTER 9 PPG Programmable Pulse Generator ...
Page 337: ...322 CHAPTER 13 UART ...
Page 417: ...402 CHAPTER 16 DMAC DMA Controller ...
Page 445: ...430 CHAPTER 17 FLASH MEMORY ...
Page 451: ...436 CHAPTER 18 SERIAL PROGRAMMING CONNECTION ...
Page 493: ...478 APPENDIX F Precautions on Handling ...
Page 494: ...479 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 507: ...492 INDEX ...
Page 509: ......