CHAPTER 7 TIMER/COUNTER FUNCTION
179
Figure 7-34. Block Diagram of TM2-TM5
Count clock
Note
TIn
8-bit compare
register n (CRn0)
8-bit counter n
(TMn)
Match
OVF
Mask
circuit
TCEn
Selector
Clear
/3
TCLn2 TCLn1
TCLn0
Timer clock selection
register (TCLn)
Internal bus
TMCn6 TMCn4
LVSn
LVRn
TMCn1 TOEn
Timer mode control register n
(TMCn)
S
Q
R
Invert
level
S
R
INV
Q
Selector
INTTMn
Selector
TOn
Internal bus
Selector
Note
Set by TCLn register.
Remarks 1.
“ “ is a signal that can be directly connected to the port.
2.
n = 2 to 5
7.3.2 Configuration
Timer n is constructed from the following hardware.
Table 7-4. Timer 2-5 Configuration
Item
Configuration
Timer register
8-bit counter 2 to 5 (TM2 to TM5)
16-bit counter 23, 45 (TM23, TM45): Only when connecting in cascade
Register
8-bit compare register 2 to 5 (CR20, CR30, CR40, CR50)
16-bit compare register 23, 45 (CR23, CR45): Only when connecting in cascade
Timer output
TO2 to TO5
Control register
Timer clock selection register 2 to 5 (TCL2 to TCL5)
8-bit timer mode control register 2 to 5 (TMC2 to TMC5)
Summary of Contents for V850/SA1 mPD703015
Page 2: ...2 MEMO ...
Page 100: ...100 MEMO ...
Page 144: ...144 MEMO ...
Page 200: ...200 MEMO ...
Page 328: ...328 MEMO ...
Page 356: ...356 MEMO ...
Page 358: ...358 MEMO ...
Page 368: ...368 MEMO ...
Page 374: ...374 MEMO ...
Page 382: ...382 MEMO ...