10
10-131
MULTIJUNCTION TIMERS
10.5 TMS (Input-Related 16-Bit Timer)
32180 Group User’s Manual (Rev.1.0)
10.5.7 Operation of TMS Measure Input
(1) Outline of TMS measure input
In TMS measure input, when the timer is enabled (by writing to the enable bit in software), it starts counting
up synchronously with the count clock. Then when event input to TMS is detected while the timer is operat-
ing, the counter value is latched into measure registers 0–3. The timer stops counting at the same time count
is disabled by writing to the enable bit.
A TIN interrupt request can be generated by measure signal input from an external device. A TMS interrupt
request can be generated when the counter overflows.
Count clock
Counter
H'FFFF
H'0000
Enabled
(by writing to the
enable bit)
Measure
event 1
occurs
Undefined
Enable bit
Note: • This diagram does not show detailed timing information.
Measure 0 register
H'8000
Overflow
occurs
TIN15 interrupt request
H'C000
Measure 1 register
TIN14 interrupt request
Measure
event 0
occurs
TMS interrupt request
due to overflow
H'6000
H'D000
H'6000
H'8000
Undefined
value
Undefined
H'D000
H'C000
Measure
event 1
occurs
Measure
event 0
occurs
Figure 10.5.3 Typical Operation of TMS Measure Input
(2) Precautions on using TMS measure input
The following describes precautions to be observed when using TMS measure input.
• If measure event input and write to the counter occur in the same clock period, the write value is set in the
counter while at the same time latched into the measure register.
Содержание 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...