Controlling Pin Output Of 8/16-Bit Ppg Pulses - Fujitsu MB90390 Series Hardware Manual

Table of Contents

Advertisement

16.6

Controlling Pin Output of 8/16-bit PPG Pulses

The pulses generated by this module can be output from external pins PPG00 and
PPG10.
■ Controlling Pin Output of 8/16-bit PPG Pulses
To output the pulses from an external pin, write "1" to the bit corresponding to each pin (PPGC0: PE00,
PPGC1: PE10). When "0" is written to these bits (default), the pulses are not output from the corresponding
external pins; the pins work as general-purpose ports.
In 16-bit PPG mode, the same waveform is output from PPG00 and PPG10. Thus, the same output can be
obtained by enabling both external pin.
In 8-bit prescaler + 8-bit PPG mode, the 8-bit prescaler toggle output waveform is output from PPG00,
while the 8-bit PPG waveform is output from PPG10. Figure 16.6-1 is a diagram of output waveforms in
this mode.
PPG0
PPG1
Pl0 = T
Ph0 = T
Pl1 = T
Ph1 = T
Note:
Set the same value in ch.0 PRLL and ch.0 PRLH.
Figure 16.6-1 8+8 PPG Output Operation Waveform
Ph0
Pl0
P h 1
(L0+1)
(L0+1)
(L0+1)
(L1+1)
(L0+1)
(H1+1)
P l 1
L0 :
ch.0 PRLL value and ch.0 PRLH value
L1 :
ch.1 PRLL value
H1 :
ch.1 PRLH value
T
:
Input clock cycle
Ph0 :
PPG00 "H" pulse width
Pl0 :
PPG00 "L" pulse width
Ph1 :
PPG10 "H" pulse width
Pl1 :
PPG10 "L" pulse width
CHAPTER 16 8/16-BIT PPG
265

Advertisement

Table of Contents
loading

Table of Contents