Chapter 7 16-bit Timer
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.
VII - 2
Overview
Table 7-1-1
Interrupt source
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
Clock source
fosc : Machine clock (High speed oscillation )
fs : System clock [
16-bit Timer Functions
Timer 7
(High precision 16-bit timer)
TM7IRQ
T7OC2IRQ
fosc
fosc/2
fosc/4
fosc/16
fs/16
TM7IO input
TM7IO input/2
TM7IO input/4
TM7IO input/16
Chapter 2 2-5 Clock Switching ]
fs
fs/2
fs/4