185
CHAPTER 9 8-BIT TIMER/EVENT COUNTERS 1, 2
User’s Manual U12697EJ3V0UM
9.2 Configuration
8-bit timer/event counters 1 and 2 include the following hardware.
Table 9-1. Configuration of 8-Bit Timer/Event Counters 1 and 2
Item
Configuration
Timer counter
8-bit
×
2 (TM1, TM2)
Register
8-bit
×
2 (CR10, CR20)
Timer output
2 (TO1, TO2)
Control registers
8-bit timer mode control register 1 (TMC1)
8-bit timer mode control register 2 (TMC2)
Prescaler mode register 1 (PRM1)
Prescaler mode register 2 (PRM2)
Figure 9-1. Block Diagram of 8-Bit Timer/Event Counters 1 and 2 (1/2)
(1) 8-bit timer/event counter 1
Internal bus
Internal bus
TCL12
TCL11
TCL10
Prescaler mode
register 1 (PRM1)
8-bit timer mode
control register 1 (TMC1)
TOE1 TMC16
0
LVS1
LVR1
TMC1
TOE1
f
XX
/2
2
f
XX
/2
3
f
XX
/2
4
f
XX
/2
5
f
XX
/2
7
f
XX
/2
9
TI1
TM2 compare match
Selector
Edge detector
8-bit compare
register 10 (CR10)
Match
8-bit timer
counter 1 (TM1)
Selector
Selector
Output
controller
Mask circuit
Clear
INTTM2
INTTM1
to TM2
TO1