113
CHAPTER 6 8-BIT TIMER/EVENT COUNTERS 50 TO 53
User’s Manual U15104EJ2V0UD
(2) Operation when CR5n is changed
Figure 6-13. Timing of Operation When CR5n Is Changed
(a) If value of CR5n is changed from N to M before overflow of TM5n
(b) If value of CR5n is changed from N to M after overflow of TM5n
(c) If value of CR5n is changed from N to M for duration of 2 clocks immediately after overflow of TM5n
Caution
The value of CR5n can be changed only once in one cycle in the PWM mode.
Count
clock
TM5n
CR5n
TCE5n
INTTM5n
TO5n
CR5n changed (N M)
N N
+
1 N
+
2
FFH 00H 01H
M M
+
1 M
+
2
FFH 00H 01H 02H
M M
+
1 M
+
2
N
02H
M
H
Count
clock
TM5n
CR5n
TCE5n
INTTM5n
TO5n
N N
+
1 N
+
2
FFH 00H 01H
N N
+
1 N
+
2
FFH 00H 01H 02H
N
02H
N
H
03H
M
M M
+
1 M
+
2
CR5n changed (N M)
Count
clock
TM5n
CR5n
TCE5n
INTTM5n
TO5n
N N
+
1 N
+
2
FFH 00H 01H
N N
+
1 N
+
2
FFH 00H 01H 02H
N
02H
N
H
M
M M
+
1 M
+
2
CR5n changed (N M)
n = 0 to 2
Содержание mPD178053
Страница 2: ...2 User s Manual U15104EJ2V0UD MEMO ...