12-BIT MULTIPUL
GENERATOR
(MPG, TIMER 4)
HARDWARE CONFIGURATION
(2) PPG operation
(Software or external) trigger input
Timer value
Set value to CMCLR + 1
Set value to OUTCR
00
H
MPG output
Fig. 2.35 Outline of MPG Output
As shown in Figure 2.35, the MPG can generate a PPG waveform. The
MPG output is reset after input of the effective trigger and the time set by the
output compare register has elapsed, and is set after the time set by the
compare clear register has elapsed.
Trigger input
Timer value
03FF
H
02FF
H
01FF
H
00FF
H
Compare clear buffer
(03FE)
register (CMCLBR)
Compare clear
(03FE)
register (CMCLR)
Output compare buffer
(00FF)
register (OUTCBR)
Output compare
(00FF)
register (OUTCR)
MPG output
PW00 pin output
(SPOL = 1)
Fig. 2.36 Description of PPG Output Operation
2-67
Output compare match
Compare clear timer match
H
H
H
H
OUTCR
CMCLR
Match
Match
(01FF)
H
(01FF)
H
OUTCR
CMCLR
Match
Match