
HARDWARE CONFIGURATION
2-63
12-BIT MULTIPUL
GENERATOR
(MPG, TIMER 4)
Operation description
(1) PWM operation (counting)
Timer value
Set value to CMCLR + 1
Set value to OUTCR
00
H
MPG output
Output compare match
Compare clear timer match
Fig. 2.32 Outline of PWM Output
As shown in Figure 2.32, the MPG can generate a PWM waveform. The
repeat cycle is set by the value of the compare clear register, and the duty of
the output pulse is set by the value of the output compare register.
(Software or external)
trigger input
Timer value
Compare clear buffer
register (CMCLBR)
Compare clear
register (CMCLR)
Output compare buffer
register (OUTCBR)
Output compare
register (OUTCR)
MPG output
PW00 pin output
(SPOL = 1)
03FF
H
02FF
H
01FF
H
00FF
H
(01FE)
H
(01FE)
H
(00FF)
H
(00FF)
H
(03FE)
H
(03FE)
H
(02FF)
H
(02FF)
H
⇑
OUTCR
Match
⇑
CMCLR
Match
Transfer
⇑
OUTCR
Match
⇑
CMCLR
Match
Transfer
⇑
OUTCR
Match
Fig. 2.33 Description of PWM Output Operation
Summary of Contents for F2MC-8L Series
Page 121: ...INSTRUCTIONS 4 7 4 5 F2MC 8L FAMILY INSTRUCTION MAP ...
Page 123: ...5 MASK OPTIONS ...
Page 125: ...APPENDIX ...