Chapter 7 16-bit Timer
VII - 2
Overview
7-1 Overview
This LSI contains a general-purpose 16-bit timer (Timer 7). Its compare register is double buffer type.
Timer 7 (high function 16-bit timer) has 2 sets of compare registers with double buffering. Also, as an
independent interrupt it has a timer 7 interrupt and a timer 7 compare register 2 match interrupt.
7-1-1 Functions
Table 7-1-1 shows the functions of timer 7.
Table 7-1-1 16-bit Timer Functions
Timer 7
(High precision 16-bit timer)
Interrupt source TM7IRQ
T7OC2IRQ
Timer operation
Event count
Timer pulse output
PWM output (duty is changeable)
High precision PWM output (duty
and cycle are changeable)
Synchronous output
Capture function
Pulse width measurement
fosc
fosc/2
fosc/4
fosc/16
fs
Clock source fs/2
fs/4
fs/16
TM7IO input
TM7IO input/2
TM7IO input/4
TM7IO input/16
fosc : Machine clock (High speed oscillation )
fs : System clock [ Chapter 2 2-5 Clock Switching ]