APPENDIX D LIST OF CAUTIONS
User’s Manual U16899EJ2V0UD
521
(7/24)
Chapter
Cl
assi
fi
cati
on
Function Details
of
Function
Cautions Page
Pulse width
measurement
To use two capture registers, set the TI00n and TI01n pins.
p. 159
External event
counter
When reading the external event counter count value, TM0n should be read.
p. 169
Soft
Do not set the OSPT0n bit to 1 while the one-shot pulse is being output. To
output the one-shot pulse again, wait until the current one-shot pulse output is
completed.
p. 172
Hard
When using the one-shot pulse output of 16-bit timer/event counter 0n with a
software trigger, do not change the level of the TI00n pin or its alternate-function
port pin.
Because the external trigger is valid even in this case, the timer is cleared and
started even at the level of the TI00n pin or its alternate-function port pin, resulting
in the output of a pulse at an undesired timing.
p. 172
Do not set the CR00n and CR01n registers to 0000H.
p. 173
Soft
One-shot pulse
output:
Software trigger
16-bit timer counter 0n starts operating as soon as a value other than 00
(operation stop mode) is set to the TMC0n3 and TMC0n2 bits.
p. 174
Hard
Even if the external trigger is generated again while the one-shot pulse is output,
it is ignored.
p. 174
Do not set the CR00n and CR01n registers to 0000H.
p. 175
Soft
One-shot pulse
output: External
trigger
16-bit timer counter 0n starts operating as soon as a value other than 00
(operation stop mode) is set to the TMC0n3 and TMC0n2 bits.
p. 176
Hard
Timer start
errors
An error of up to one clock may occur in the time required for a match signal to be
generated after timer start. This is because 16-bit timer counter 0n (TM0n) is
started asynchronously to the count clock.
p. 177
16-bit timer
capture/compare
register setting
In the mode in which clear & start occurs on a match between TM0n and CR00n,
set 16-bit timer capture/compare register 00n (CR00n) to other than 0000H. This
means a 1-pulse count operation cannot be performed when 16-bit timer/event
counter 0n is used as an external event counter.
p. 177
Capture register
data retention
timing
The values of 16-bit timer capture/compare registers 00n and 01n (CR00n and
CR01n) are not guaranteed after 16-bit timer/event counter 0n has been stopped.
p. 177
Valid edge
setting
Set the valid edge of the TI00n pin after setting bits 2 and 3 (TMC0n2 and
TMC0n3) of 16-bit timer mode control register 0n (TMC0n) to 0, 0, respectively,
and then stopping timer operation. The valid edge is set using bits 4 and 5
(ES0n0 and ES0n1) of prescaler mode register 0n (PRM0n).
p. 177
One-shot pulse
output:
Software trigger
When a one-shot pulse is output, do not set the OSPT0n bit to 1. Do not output
the one-shot pulse again until INTTM00n, which occurs upon a match with the
CR00n register, or INTTM01n, which occurs upon a match with the CR01n
register, occurs.
p. 177
Soft
One-shot pulse
output: External
trigger
If the external trigger occurs again while a one-shot pulse is output, it is ignored.
p. 177
Chapter 6
Hard
16-bit
timer/
event
counters
00, 01
(TM00,
TM01)
One-shot pulse
output function
When using the one-shot pulse output of 16-bit timer/event counter 0n with a
software trigger, do not change the level of the TI00n pin or its alternate function
port pin.
Because the external trigger is valid even in this case, the timer is cleared and
started even at the level of the TI00n pin or its alternate function port pin, resulting
in the output of a pulse at an undesired timing.
p. 177
Содержание MuPD78F0132H
Страница 2: ...User s Manual U16899EJ2V0UD 2 MEMO ...