CHAPTER 7 TIMER/COUNTER FUNCTION
User’s Manual U13850EJ4V0UM
210
Figure 7-36. Block Diagram of TM2 to TM7
Notes 1.
The count clock is set by the TCLn register.
2.
Clock of serial interface (TM2 and TM3 only)
Remarks 1.
“
]
” is a signal that can be directly connected to the port.
2.
n = 2 to 7, m = 2 to 5
7.3.2 Configuration
Timer n includes the following hardware.
Table 7-5. Configuration of Timers 2 to 7
Item
Configuration
Timer registers
8-bit counters 2 to 7 (TM2 to TM7)
16-bit counters 23, 45, 67 (TM23, TM45, TM67): Only when connecting in cascade
Registers
8-bit compare registers 2 to 7 (CR20 to CR70)
16-bit compare registers 23, 45, 67 (CR23, CR45, CR67): Only when connecting in
cascade
Timer outputs
TO2 to TO5
Control registers
Timer clock selection registers 20 to 70 and 21 to 71 (TCL20 to TCL70 and TCL21 to
TCL71)
8-bit timer mode control registers 2 to 7 (TMC2 to TMC7)
8-bit compare
register n (CRn0)
8-bit counter n
(TMn)
Match
OVF
Mask
circuit
TCEn
Selector
Clear
/4
TCLn2 TCLn1
TCLn0
Internal bus
TMCn6 TMCn4 LVSm
LVRm TMCm1 TOEm
S
Q
R
Invert
level
S
R
INV
Q
Selector
INTTMn
Selector
TOm
Internal bus
Selector
Count clock
Note 1
TIm
TCLn3
Note 2
Timer clock selection register
n0, n1 (TCLn0, TCLn1)
Timer mode control
n0, n1 (TCLn0, TCLn1)
Содержание MPD703030A
Страница 2: ...User s Manual U13850EJ4V0UM 2 MEMO ...
Страница 514: ...User s Manual U13850EJ4V0UM 514 MEMO ...