Chapter 8 Time Base Timer / 8-bit Free-running Timer
VIII - 2
Overview
Table 8-1-1 Clock Source and Generation Cycle
8-1 Overview
This LSI has a time base timer and a 8-bit free-running timer (timer 6).
8-1-1 Functions
Time base timer
Ti mer 6
(8-Bit free-running timer)
8-Bit timer operation
-
√
Interrupts / source
TBIRQ TM6IRQ
Clock source
fosc
fx
fosc
fx
fs
fosc X 1/2
12
(*
1
)
fosc X 1/2
13
(*
1
)
fx X 1/2
12
(*
2
)
fx X 1/2
13
(*
2
)
Interrupt generation
cycle
fosc X 1/2
7
(*
1
)
fosc X 1/2
8
(*
1
)
fosc X 1/2
9
(*
1
)
fosc X 1/2
10
(*
1
)
fosc X 1/2
13
(*
1
)
fosc X 1/2
15
(*
1
)
fx X 1/2
7
(*
2
)
fx X 1/2
8
(*
2
)
fx X 1/2
9
(*
2
)
fx X 1/2
10
(*
2
)
fx X 1/2
13
(*
2
)
fx X 1/2
15
(*
2
)
The interrupt generation
cycle is decided by the
arbitrary value written to
TM6OC.
fosc : Machine clock (High speed oscillation)
fx : Machine clock (Low speed oscillation)
fs : System clock [ Chapter 2 2-5. Clock Switching ]
-*
1
can be used as a clock source of time base timer is selected to 'fosc'.
-*
2
can be used as a clock source of time base timer is selected to 'fx'.
- Time base timer and timer 6 cannot stop timer 6 counting.
Table 8-1-1 shows the clock sources and the interrupt generation cycles that timer 6 and time base timer
can select.
Time base timer is a 15-bit timer counter. These timers can stop the timer counting only at stand-by
mode (STOP mode).