155
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 0
User’s Manual U15798EJ2V0UD
(11) Edge detection
<1>
If the TI00 pin or the TI01 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 for the TI00 pin or TI01 pin to enable 16-bit timer
counter 0 (TM0) operation, a rising edge is detected immediately. Be careful when pulling up the TI00 pin
or the TI01 pin. However, the rising edge is not detected at restart after the operation has been stopped
once.
<2>
The sampling clock used to eliminate noise differs when the TI00 pin valid edge is used as the count clock
and when it is used as a capture trigger. In the former case, the sampling clock is f
X
/2
3
, and because the
main system clock is used, the sampling clock can only be used when the main system clock is operating.
In the latter case, sampling is performed with the count clock selected by prescaler mode register 0 (PRM0).
The capture operation is only started after a valid edge is detected twice by sampling, therefore noise with
a short pulse width can be eliminated.
(12) TI01 input and TO00 output
Because the TI01 input pin and TO00 output pin are assigned to the same pin (P34/TI01/TO00), these pins cannot
be used at the same time.
(13) STOP mode and main system clock stop mode settings
Except when the TI00 and TI01 inputs are selected, be sure to stop the timer operation before setting STOP or
main system clock stop mode. Otherwise, the timer may malfunction when the main system clock is started.
Содержание mPD780344 Series
Страница 2: ...2 User s Manual U15798EJ2V0UD MEMO...