10
10.5 TMS (Input-related 16-bit Timer)
10.5.1 Outline of TMS
TMS (Timer Measure Small) is an input-related 16-bit timer capable of measuring input pulses in
two circuit blocks comprising a total eight channels.
The table below shows specifications of TMS. The diagram in the next page shows a block diagram
of TMS.
Table 10.5.1 Specifications of TMS (Input-related 16-bit Timer)
Item
Number of channels
Counter
Measure register
Timer startup
Interrupt generation
10.5.2 Outline of TMS Operation
In TMS, when the timer is started by writing to the enable bit in software, the counter starts
operating. The counter is a 16-bit up-counter, where when a measure signal is entered from an
external device, the counter value is latched into each measure register.
The counter stops counting at the same time count is disabled by writing to the enable bit in
software.
A TIN interrupt can be generated by entering an external measure signal. Also, a TMS interrupt can
be generated by a counter overflow.
Specification
8 channels (2 circuit blocks consisting of 4 channels each, 8 channels in total)
16-bit up-counter x 2
16-bit measure register x 8
Started by writing to enable bit in software
Can be generated by a counter overflow
10-140
MULTIJUNCTION TIMERS
10.5 TMS (Input-related 16-bit Timer)
Ver.0.10