Toshiba TLCS-900/L1 Series Manual page 95

Original cmos 16-bit microcontroller
Hide thumbs Also See for TLCS-900/L1 Series:
Table of Contents

Advertisement

3.7.2
Operation of Each Circuit
(1) Prescalers
A 9-bit prescaler generates the input clock to TMRA01.
The φT0 as the input clock to prescaler is a clock divided by 4 which selected using
the prescaler clock selection register SYSCR0<PRCK1:0>.
The prescaler's operation can be controlled using TA01RUN<TA01PRUN> in the
timer control register. Setting <TA01PRUN> to 1 starts the count; setting
<TA01PRUN> to 0 clears the prescaler to zero and stops operation. Table 3.7.2 shows
the various prescaler output clock resolutions.
System Clock
Prescaler Clock
Selection
Selection
SYSCR1
SYSCR0
<SYSCK>
<PRCK1:0>
1 (fs)
00
(f
)
FPH
0 (fc)
10
/16 clock)
(fc
xxx: Don't care
(2) Up counters (UC0 and UC1)
These are 8-bit binary counters which count up the input clock pulses for the clock
specified by TA01MOD.
The input clock for UC0 is selectable and can be either the external clock input via
the TA0IN pin or one of the three internal clocks φT1, φT4 or φT16. The clock setting
is specified by the value set in TA01MOD<TA0CLK1:0>.
The input clock for UC1 depends on the operation mode. In 16-bit timer mode, the
overflow output from UC0 is used as the input clock. In any mode other than 16-bit
timer mode, the input clock is selectable and can either be one of the internal clocks
φT1, φT16 or φT256, or the comparator output (The match detection signal) from
TMRA0.
For
each
TA01RUN<TA0RUN> and TA01RUN<TA1RUN> can be used to stop and clear the
up counters and to control their count. A reset clears both up counters, stopping the
timers.
Table 3.7.2 Prescaler Output Clock Resolution
Gear Value
SYSCR1
φT1
<GEAR2:0>
/fs (244 µs)
3
XXX
2
/fc (0.2 µs)
3
2
000 (fc)
4
/fc (0.5 µs)
2
001 (fc/2)
/fc (1.0 µs)
5
010 (fc/4)
2
6
011 (fc/8)
2
/fc (1.9
7
100 (fc/16)
2
/fc (3.9
/fc (3.9 µs)
7
XXX
2
interval
timer
the
91C824-93
at fc = 33 MHz, fs = 32.768 kHz
Prescaler Output Clock Resolution
φT4
φT16
/fs (977 µs)
5
7
2
2
/fs (3.9 ms) 2
/fc (1.0 µs)
5
7
2
2
/fc (3.9µs)
6
/fc (1.9 µs)
8
/fc (7.8 µs) 2
2
2
/fc (3.9 µs)
/fc (15.5 µs) 2
7
9
2
2
/fc (7.8 µs) 2
/fc (31.0 µs) 2
8
10
µ
s)
2
/fc (15.5 µs) 2
/fc (62.1 µs) 2
9
11
µ
s)
2
/fc (15.5 µs) 2
/fc (62.1 µs) 2
9
11
2
timer
operation
control
TMP91C824
φT256
11
/fs (62.5 ms)
/fc (62.1 µs)
11
2
12
/fc (248.2 µs)
/fc (496.5 µs)
13
/fc (1024 µs)
14
/fc (993 µs)
15
/fc (993 µs)
15
register
bits
2008-02-20

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tmp91c824fgJtmp91c824-s

Table of Contents