CHAPTER 6 16-BIT TIMER/EVENT COUNTER P (TMP)
User’s Manual U16896EJ2V0UD
137
6.3 Configuration
TMP0 includes the following hardware.
Table 6-1. Configuration of TMP0
Item Configuration
Timer register
16-bit counter
Registers
TMP0 capture/compare registers 0, 1 (TP0CCR0, TP0CCR1)
TMP0 counter read buffer register (TP0CNT)
CCR0, CCR1 buffer registers
Timer inputs
2 (TIP00
Note
, TIP01 pins)
Timer outputs
2 (TOP00, TOP01 pins)
Control registers
TMP0 control registers 0, 1 (TP0CTL0, TP0CTL1)
TMP0 I/O control registers 0 to 2 (TP0IOC0 to TP0IOC2)
TMP0 option register 0 (TP0OPT0)
Note
The TIP00 pin functions alternately as a capture trigger input signal, external event count input
signal, and external trigger input signal.
Figure 6-1. Block Diagram of TMP0
f
XX
f
XX
/2
f
XX
/4
f
XX
/8
f
XX
/16
f
XX
/32
f
XX
/64
f
XX
/128
Selector
Internal bus
Internal bus
TOP00
TOP01
TIP00
TIP01
Selector
CCR0
buffer
register
CCR1
buffer
register
TP0CCR0
TP0CCR1
16-bit counter
TP0CNT
INTTP0OV
INTTP0CC0
INTTP0CC1
Output
controller
Clear
Edge
detector
Edge
detector
Digital
noise
eliminator
Remark
f
XX
: Main clock frequency