NEC 78K0 User Manual page 211

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0:
Table of Contents

Advertisement

(8) Timer operation
<1> Even if 16-bit timer counter 0n (TM0n) is read, the value is not captured by 16-bit timer capture/compare
register 01n (CR01n).
<2> Regardless of the CPU's operation mode, when the timer stops, the input signals to the TI00n/TI01n pins
are not acknowledged.
<3> The one-shot pulse output mode operates correctly only in the free-running mode and the mode in which
clear & start occurs at the TI00n valid edge. In the mode in which clear & start occurs on a match between
the TM0n register and CR00n register, one-shot pulse output is not possible because an overflow does not
occur.
(9) Capture operation
<1> If TI00n valid edge is specified as the count clock, a capture operation by the capture register specified as
the trigger for TI00n is not possible.
<2> To ensure the reliability of the capture operation, the capture trigger requires a pulse two cycles longer than
the count clock selected by prescaler mode register 0n (PRM0n).
<3> The capture operation is performed at the falling edge of the count clock. An interrupt request input
(INTTM00n/INTTM01n), however, is generated at the rise of the next count clock.
(10) Compare operation
A capture operation may not be performed for CR00n/CR01n set in compare mode even if a capture trigger has
been input.
(11) Edge detection
<1> If the TI00n or TI01n pin is high level immediately after system reset and the rising edge or both the rising
and falling edges are specified as the valid edge of the TI00n or TI01n pin to enable the 16-bit timer counter
0n (TM0n) operation, a rising edge is detected immediately after the operation is enabled. Be careful
therefore when pulling up the TI00n or TI01n pin. However, the rising edge is not detected at restart after
the operation has been stopped once.
<2> The sampling clock used to remove noise differs when the TI00n valid edge is used as the count clock and
when it is used as a capture trigger. In the former case, the count clock is f
count clock is selected by prescaler mode register 0n (PRM0n). The capture operation is only performed
when a valid level is detected twice by sampling the valid edge, thus eliminating noise with a short pulse
width.
Remark n = 0:
n = 0, 1:
CHAPTER 7 16-BIT TIMER/EVENT COUNTERS 00 AND 01
*
µ
PD780143, 780144
µ
PD780146, 780148, 78F0148
User's Manual U15947EJ2V0UD
, and in the latter case the
X
211

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kf1

Table of Contents