233
CHAPTER 13 16-Bit I/O TIMER
13.7 Precautions when Using 16-bit I/O Timer
This section explains the precautions when using the 16-bit I/O timer.
■ Precautions when Using 16-bit I/O Timer
●
Precautions when setting 16-bit free-run timer
• Do not change the count clock select bits (TCCSL: CLK2, CLK1, CLK0) during the operation in the 16-
bit free-run timer (TCCSL: STOP = 0).
• The counter value of the 16-bit free-run timer is cleared to "0000
H
" by reset.
• Stop the 16-bit free-run timer (TCCSL:STOP=1), then write the counter value to the timer data register
(TCDT) directly.
• Always use a word instruction to write the timer data register (TCDT).
●
Operation delay by synchronization operation
The input capture generates delay of operation time because it synchronizes with the operation clock. After
the input capture detects the trigger signal from the pin, it synchronizes with the machine clock and
performs the capture operation.