
42
MB90630A Series
6. 8/16-bit PPG
This block is an 8-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
channel 0,1 000046H
channel 1 000045H
15
14
13
12
11
10
9
PEN1
—
PE10
PIE1
PUF1
MD1
MD0
Reserved
8
(R/W)
(—)
(R/W)
(—)
(0)
(X)
(0)
(1)
(0)
PPG0 operation mode control
Address:
channel 0 000044H
7654321
PEN0
—
PE00
PIE0
PUF0
—
Reserved
0
(—)
(R/W)
(—)
(R/W)
(—)
(0)
(X)
(0)
(1)
(X)
Address:
PPGC0
PPGC1
7654321
PCS2
PCS1
PCS0
PCM2
PCM1
PCM0
PE11
PE01
0
(R/W)
(0)
Address:
PPGOE
PPG1 operation mode control
PPG0, 1 output control register
Read/write
Initial value
Read/write
Initial value
Read/write
Initial value
15
14
13
12
11
10
9
8
76543210
(R/W)
(X)
Read/write
Initial value
channel 0 000041H
Address:
Reload register H
PRLH0, 1
channel 1 000043H
(R/W)
(X)
Read/write
Initial value
channel 0 000040H
Address:
Reload register L
PRLL0, 1
channel 1 000042H