
MB90580C Series
DS07-13710-6E
55
9.
8/16-bit PPG
8/16-bit PPG is an 8/16-bit reload timer module. The block performs PPG output in which the pulse output is
controlled by the operation of the timer.
The hardware consists of two 8-bit down-counters, four 8-bit reload registers, one 16-bit control register, two
external pulse output pins, and two interrupt outputs. The PPG has the following functions.
8-bit PPG output in two channels independent operation mode:
Two independent PPG output channels are available.
16-bit PPG output operation mode :
One 16-bit PPG output channel is available.
8 + 8-bit PPG output operation mode :
Variable-period 8-bit PPG output operation is available by using the output of channel 0 as the clock input to
channel 1.
PPG output operation :
Outputs pulse waveforms with variable period and duty ratio. Can be used as a D/A converter in conjunction
with an external circuit.
(1) Register configuration
PPG0 operating mode control register
bit
7
654321
0
Address
: ch0 0000044H
PEN0
POE0 PIE0 PUF0
Re-
served
PPGC0
Access
(R/W) (
) (R/W) (R/W) (R/W) () () (R/W)
Initial value
(0)
(X)
(0)
(X)
(1)
PPG1 operating mode control register
bit
151413121110
9
8
Address
: ch1 0000045H
PEN1
POE1 PIE1 PUF1 MD1 MD0
Re-
served
PPGC1
Access
(R/W) (
) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W)
Initial value
(0)
(X)
(0)
(1)
PPG0 and 1 output control registers
bit
7
654321
0
Address
: ch0, 1 0000046H
PCS2 PCS1 PCS0 PCM2PCM1PCM0
Re-
served
Re-
served
PPGOE
Access
(R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W)
Initial value
(0)
Reload register H
bit
151413121110
9
8
Address
: ch0 000041H
PRLH0
: ch1 000043H
PRLH1
Access
(R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W)
Initial value
(X)
Reload register L
bit
76543210
Address
: ch0 000040H
PRLL0
: ch1 000042H
PRLL1
Access
(R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W)
Initial value
(X)