APPENDIX D LIST OF CAUTIONS
User’s Manual U16899EJ2V0UD
518
(4/24)
Chapter
Cl
assi
fi
cati
on
Function Details
of
Function
Cautions Page
Set a value other than 0000H in CR00n in the mode in which clear & start occurs
on a match of TM0n and CR00n.
p. 140
Soft
If CR00n is cleared to 0000H in the free-running mode and in the clear mode
using the valid edge of the TI00n pin, an interrupt request (INTTM00n) is
generated when the value of CR00n changes from 0000H to 0001H following
TM0n overflow (FFFFH). In addition, INTTM00n is generated after a match
between TM0n and CR00n, after detecting the valid edge of the TI01n pin, or
the timer is cleared by a one-shot trigger.
p. 140
When the valid edge of the TI01n pin is used, P01 or P06 cannot be used as the
timer output pin (TO0n). When P01 or P06 is used as the TO0n pin, the valid
edge of the TI01n pin cannot be used.
p. 140
Hard
When CR00n is used as a capture register, read data is undefined if the register
read time and capture trigger input conflict (the capture data itself is the correct
value). If a timer count stop and a capture trigger input conflict, the captured data
is undefined.
p. 140
CR00n: 16-bit
timer
capture/compare
register 00n
Do not rewrite CR00n during TM0n operation.
pp. 140,
153,
158,
170
Soft
If the CR01n register is cleared to 0000H, an interrupt request (INTTM01n) is
generated when the value of CR01n changes from 0000H to 0001H following
TM0n overflow (FFFFH). In addition, INTTM01n is generated after a match
between TM0n and CR01n, after detecting the valid edge of the TI00n pin, or the
timer is cleared by a one-shot trigger.
p. 141
Hard
When CR01n is used as a capture register, read data is undefined if the register
read time and capture trigger input conflict (the capture data itself is the correct
value).
If count stop input and capture trigger input conflict, the captured data is
undefined.
p. 141
CR01n: 16-bit
timer
capture/compare
register 01n
CR01n can be rewritten during TM0n operation. For details, see Caution 2 in
Figure 6-20.
p. 141
TMC0n: 16-bit
timer mode
control register
0n
16-bit timer counter 0n (TM0n) starts operation at the moment TMC0n2 and
TMC0n3 are set to values other than 0, 0 (operation stop mode), respectively. Set
TMC0n2 and TMC0n3 to 0, 0 to stop the operation.
p. 142
Timer operation must be stopped before writing to bits other than the OVF00 flag. p. 143
Set the valid edge of the TI000/P00 pin using prescaler mode register 00
(PRM00).
p. 143
TMC00: 16-bit
timer mode
control register
00
If the following modes: the mode in which clear & start occurs on match between
TM00 and CR000, the mode in which clear & start occurs at the TI000 pin valid
edge, or free-running mode is selected, when the set value of CR000 is FFFFH
and the TM00 value changes from FFFFH to 0000H, the OVF00 flag is set to 1.
p. 143
Timer operation must be stopped before writing to bits other than the OVF01 flag. p. 144
Set the valid edge of the TI001/P05 pin using prescaler mode register
01(PRM01).
p. 144
Chapter 6
Soft
16-bit
timer/
event
counters
00, 01
(TM00,
TM01)
TMC01: 16-bit
timer mode
control register
01
If the following modes: the mode in which clear & start occurs on match between
TM01 and CR001, the mode in which clear & start occurs at the TI001 pin valid
edge, or free-running mode is selected, when the set value of CR001 is FFFFH
and the TM01 value changes from FFFFH to 0000H, the OVF01 flag is set to 1.
p. 144