
10
10-147
MULTIJUNCTION TIMERS
10.7 TID (Input-Related 16-Bit Timer)
32180 Group User’s Manual (Rev.1.0)
(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 for the counter. The count direction is switched
between up-count and down-count depending on the status of the two input signals.
By detecting the rising and falling edges on both of the two external input signals, the timer generates clock
pulses synchronized to the microcomputer’s internal clock. When after setting the counter the timer is en-
abled (by writing to the enable bit in software), the counter starts counting synchronously with the generated
clock. To know whether the counter counts up or counts down, see Table 10.7.2 below.
An interrupt request can be generated when the counter underflows or overflows.
To stop the counter, disable count by writing to the enable bit in software or fix the external input signals
either "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
Содержание M32R/ECU Series
Страница 17: ...12 This page is blank for reasons of layout...
Страница 18: ...CHAPTER 1 OVERVIEW 1 1 Outline of the 32180 Group 1 2 Block Diagram 1 3 Pin Functions 1 4 Pin Assignments...
Страница 712: ...CHAPTER 18 OSCILLATOR CIRCUIT 18 1 Oscillator Circuit 18 2 Clock Generator Circuit...
Страница 794: ...CHAPTER 22 TYPICAL CHARACTERISTICS...
Страница 795: ...22 22 2 32180 Group User s Manual Rev 1 0 TYPICAL CHARACTERISTICS To be written at a later time...
Страница 796: ...APPENDIX 1 MECHANICAL SPECIFICAITONS Appendix 1 1 Dimensional Outline Drawing...
Страница 798: ...APPENDIX 2 INSTRUCTION PROCESSING TIME Appendix 2 1 32180 Instruction Processing Time...
Страница 802: ...APPENDIX 3 PROCESSING OF UNUSED PINS Appendix 3 1 Example Processing of Unused Pins...