10
10-147
Ver.0.10
10.5.7 Operation of TMS Measure Input
(1) Outline of TMS measure input
In TMS measure input, the counter starts counting up clock pulses when the timer is actuated by
writing to the enable bit in software. When event input is entered to TMS while the timer is
operating, the counter value is latched into measure registers 0-3. The timer stops at the same
time count is disabled by writing to the enable bit.
A TIN interrupt can be generated by entering a measure signal from an external device. Also,
when the counter overflows, a TMS interrupt can be generated.
Figure 10.5.3 Typical Operation in TMS Measure Input
Count clock
Counter
H'FFFF
H'0000
Enabled
(by writing to
enable bit)
Measure
event 1
occurs
Initial value (indeterminate)
Enable bit
Note: This diagram does not show detail timing information.
Measure 0 register
H'8000
Overflow
occurs
TIN15 interrupt
H'C000
Measure
event 0
occurs
TMS interrupt
by overflow
H'C000
H'6000
H'D000
H'6000
H'D000
H'8000
Indeterminate
value
Measure
event 1
occurs
Measure
event 0
occurs
Initial value (indeterminate)
Measure 1 register
TIN14 interrupt
MULTIJUNCTION TIMERS
10.5 TMS (Input-related 16-bit Timer)
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 ...