CHAPTER 7 TIMER/COUNTER FUNCTION
User’s Manual U13850EJ4V0UM
209
7.3 8-Bit Timer (TM2 to TM7)
7.3.1 Functions
8-bit timer n has the following two modes (n = 2 to 7).
• Mode using timer alone (individual mode)
• Mode using the cascade connection (16-bit resolution: cascade connection mode)
Caution Do not access following registers when not using the cascade connection.
•
16-bit counters (TM23, TM45, TM67)
•
16-bit compare registers (CR23, CR45, CR67)
These two modes are described next.
(1) Mode using timer alone (individual mode)
The timer operates as an 8-bit timer/event counter.
It can have the following functions.
• Interval timer
• External event counter
• Square wave output
• PWM output
(2) Mode using the cascade connection (16-bit resolution: cascade connection mode)
The timer operates as a 16-bit timer/event counter by connecting TM2 and TM3 or TM4 and TM5 in cascade.
It can have the following functions.
• Interval timer with 16-bit resolution
• External event counter with 16-bit resolution
• Square wave output with 16-bit resolution
The timer operates as a 16-bit timer/event counter by connecting TM6 and TM7 in cascade.
• Interval timer with 16-bit resolution