Time Base Operation; Overview; Operation - Panasonic MN101C00 User Manual

Panaxseries mn101c00 series 8-bit single-chip microcomputers
Table of Contents

Advertisement

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/2
clock source.

4-5-2 Operation

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.
TM5IR2 to 0
Clock Source
20MHz
fosc
8.38MHz
32.768kHz
fx
Table 4-5-1 Base Time Settings
000
001
1
1
7
8
2
2
6.4 s
12.8 s
15.2 s
30.5 s
3.9ms
7.8ms
, 1/2
, 1/2
, 1/2
, or 1/2
7
8
9
10
13
010
011
1
9
2
2
25.6 s
51.2 s
61.0 s
122.0 s
15.6ms
31.2ms
Chapter 4 Timer Functions
of the
1XX
1
1
10
13
2
409.6 s
976.4 s
250ms
Time Base Operation
77

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn101c115Mn101c117Mn101cp117

Table of Contents