MB90420/5 (A) SERIES F
13.4.3 Interrupt Factors and Timing
The time from the start trigger is caused to the count value is loaded must be 2.5T at the maximum (T: count
clock cycle).
Start trigger
Load
Clock
Count value
PPG
Interrupt
n Example of how to output all Ls or all Hs for PWM output
PPG
Duty value
decreased
PPG
Duty value
incresed
2
MC-16LX FAMILY 16-BIT MICROCONTROLLERS HARDWARE MANUAL
→ 2.5T max.←
XXXX
0003h
Software trigger
Fig. 13.6 Interrupt Output Factors and Timing
⇒
⇒
⇒
⇒
0002h
0001h
0000h
Compare match
↑
When a borrow causes an interrupt, 1 is
⇒
written to the PGMS (mask bit).
Also, when 0 is written to the PGMS (mask
bit) when a borrow causes an interrupt,
PPG waves can be output without
outputting skew.
↑
When a compare match causes an interrupt,
⇒
the same value as the cycle setting register is
written to the duty setting register.
13-12
0003h
Borrow