![](http://datasheet.mmic.net.cn/330000/MB90F654A_datasheet_16438029/MB90F654A_45.png)
45
MB90650A Series
6. 8/16-bit PPG
8/16-bit PPG 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.
One 16-bit PPG output channel is available.
16-bit PPG output operation mode :
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
Address : 000044
H
PEN0
—
PE00
PIE0
PUF0
—
—
Reserved
R/W
—
R/W
R/W
R/W
—
—
—
Initial value
0X000XX1
B
PPG0 operation mode control register channel 0 (PPGC0)
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
Address : 000045
H
PEN1
—
PE10
PIE1
PUF1
MD1
MD0
Reserved
R/W
—
R/W
R/W
R/W
R/W
R/W
—
Initial value
0X000001
B
PPG1 operation mode control register channel 1 (PPGC1)
bit 15
bit 14
bit 13
bit 12
bit 11
bit 10
bit 9
bit 8
: Readable and writable
: Indeterminate
Address : 000046
H
PCS2
PCS1
PCS0 PCM2 PCM1 PCM0
PE11
PE01
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value
00000000
B
PPG0, PPG1 output control register channel 0, channel 1 (PPGOE)
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
Address : 000041
H
000043
H
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value
XXXXXXXX
B
Reload register upper channel 0, channel 1 (PRLH0, PRLH1)
bit 15
bit 14
bit 13
bit 12
bit 11
bit 10
bit 9
bit 8
Address : 000040
H
000042
H
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value
XXXXXXXX
B
Reload register lower channel 0, channel 1 (PRLL0, PRLL1)
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
R/W
X