NEC mPD178054 Series User Manual page 113

8-bit single-chip microcontrollers
Table of Contents

Advertisement

(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
Count
clock
TM5n
N N + 1 N + 2
CR5n
N
TCE5n
H
INTTM5n
TO5n
CR5n changed (N
(b) If value of CR5n is changed from N to M after overflow of TM5n
Count
clock
TM5n
N N + 1 N + 2
CR5n
N
TCE5n
H
INTTM5n
TO5n
(c) If value of CR5n is changed from N to M for duration of 2 clocks immediately after overflow of TM5n
Count
clock
TM5n
N N + 1 N + 2
CR5n
N
TCE5n
H
INTTM5n
TO5n
n = 0 to 2
Caution The value of CR5n can be changed only once in one cycle in the PWM mode.
CHAPTER 6 8-BIT TIMER/EVENT COUNTERS 50 TO 53
FFH 00H 01H
02H
M M + 1 M + 2
M
M)
FFH 00H 01H
02H
03H
N N + 1 N + 2
N
CR5n changed (N
FFH 00H 01H
02H
N N + 1 N + 2
N
CR5n changed (N
M)
User's Manual U15104EJ2V0UD
FFH 00H 01H 02H
FFH 00H 01H 02H
M
M)
FFH 00H 01H 02H
M
M M + 1 M + 2
M M + 1 M + 2
M M + 1 M + 2
113

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd178053Mpd178054Mpd178f054

Table of Contents