10
10-170
Ver.0.10
MULTIJUNCTION TIMERS
10.7 TID (Input-related 16-bit Timer)
(3) Multiply-by-4 event count mode
In multiply-by-4 event count mode, the timer uses two external input signals in pairs (TIN24 and
TIN25, TIN26 and TIN27, or TIN28 and TIN29) as the clock sources with which to operate the
counter. The count direction is switched between up-count and down-count depending on the
status of the two input signals.
The two externally sourced signals both are sampled to detect rising and falling edges as the
timer generates clock pulses synchronized to the internal clock. When after setting the counter,
the timer is enabled (by writing to the enable bit in software), the counter starts counting up
synchronously with the generated clock. For details on whether the counter counts up or counts
down, see Table 10.7.2 below.
An interrupt can be generated by a counter overflow and/or underflow.
To stop the counter, disable count by writing to the enable bit in software or fix the external input
signals high or low.
Table 10.7.2 Count Direction during Multiply-by-4 Event Count Mode
TIN24
(TIN26, TIN28)
TIN25
(TIN27, TIN29)
Input
H
H
L
L
H
L
L
H
Up-count
Down-count
Count Direction
Summary of Contents for M32170F3VFP
Page 42: ...1 1 24 Ver 0 10 OVERVIEW 1 4 Pin Layout This is a blank page ...
Page 56: ...2 2 14 Ver 0 10 This is a blank page ...
Page 88: ...3 3 32 Ver 0 10 ADDRESS SPACE 3 7 Notes on Address Space This is a blank page ...
Page 270: ...9 9 40 Ver 0 10 DMAC 9 4 Precautions about the DMAC This is a blank page ...
Page 614: ...12 12 64 Ver 0 10 This is a blank page SERIAL I O 12 9 Precautions on Using UART Mode ...
Page 756: ...17 17 10 Ver 0 10 RAM BACKUP MODE 17 4 Exiting RAM Backup Mode Wakeup This is a blank page ...
Page 762: ...18 18 6 Ver 0 10 OSCILLATION CIRCUIT 18 2 Clock Generator Circuit This is a blank page ...
Page 831: ...CHAPTER 22 CHAPTER 22 TYPICAL CHARACTERISTICS 22 1 A D Conversion Characteristics ...
Page 833: ...Appendix 1 1 Dimensional Outline Drawing APPENDIX 1 APPENDIX 1 MECHANICAL SPECIFICATIONS ...
Page 841: ...Appendix 3 1 Precautions about Noise APPENDIX 3 APPENDIX 3 PRECAUTIONS ABOUT NOISE ...