
34
MB90640A Series
3. 8/16-bit PPG
8/16-bit PPG contains the 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 2-channel 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
PEN0
—
POE0
PIE0
PUF0 PCM1 PCM0
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
R/W
—
R/W
—
Initial value
0-000001B
00000001B
XXXXXXXXB
Address :
PEN1
PCS1 POE1
PIE1
PUF1
MD1
MD0 Reserved
bit 15
bit 14
bit 13
bit 12
bit 11
bit 10
bit 9
bit 8
R/W
—
Initial value
: 000031H
: 000035H
: 000037H
Address :
bit 15
bit 14
bit 13
bit 12
bit 11
bit 10
bit 9
bit 8
R/W
Initial value
: 000034H
: 000036H
Address :
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
R/W
Initial value
R/W
—
X
: Readable and writable
: Unused
: Indeterminate
: 000030H
Address : PPGC0
PPGC1
PRLH0
PRLH1
PRLL0
PRLL1
Reserved
PPG0 operation mode control register
PPG1 operation mode control register
PPG0, PPG1 reload register H
PPG0, PPG1 reload register L