English
Language : 

MN101C115 Datasheet, PDF (91/170 Pages) Panasonic Semiconductor – Request for your special attention and precautions in using the technical information and semiconductors described in this book
4-5 Time Base Operation
4-5-1 Overview
The clock source for the time base timer can be set to fosc or fx. Also, the interrupt
period for time base timer (TBIRQ) can be set to 1/27, 1/28, 1/29, 1/210, or 1/213 of the
clock source.
Chapter 4 Timer Functions
4-5-2 Operation
s Time Base Function
Settings for the time base function are listed below.
(1) Use the TM5CK0 flag of the timer 5 mode register (TM5MD) to select fosc or fx as
the clock source.
(2) Use the TM5IR2 to 0 flags of the TM5MD register to select the time base timer
interrupt source.
(3) When the selected time interval passes, the interrupt request flag of the time base
interrupt control register (TBICR) is set.
Time base operation cannot be halted.
Table 4-5-1 Base Time Settings
TM5IR2 to 0
Clock Source
20MHz
fosc
8.38MHz
000
1
27
6.4µs
15.2µs
001
1
28
12.8µs
30.5µs
010
1
29
25.6µs
61.0µs
fx
32.768kHz 3.9ms
7.8ms
15.6ms
011
1
210
51.2µs
122.0µs
31.2ms
1XX
1
213
409.6µs
976.4µs
250ms
Time Base Operation 77