English
Language : 

MC80F0424 Datasheet, PDF (60/135 Pages) List of Unclassifed Manufacturers – 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0424/0432/0448
Preliminary
TM4
R/W R/W R/W R/W R/W R/W
5
4
3
2
1
0
-
- CAP4 T4CK2 TB4TCCKL1 T4CK0 T4CN T4ST
ADDRESS: 0DCH
INITIAL VALUE: --000000B
Bit Name Bit Position
CAP4
TM4.5
T4CK2
T4CK1
T4CK0
TM4.4
TM4.3
TM4.2
T4CN
T4ST
TM4.1
TM4.0
Description
0: Timer/Counter mode
1: Capture mode selection flag
000: 8-bit Timer, Clock source is fXIN ÷ 2
001: 8-bit Timer, Clock source is fXIN ÷ 4
010: 8-bit Timer, Clock source is fXIN ÷ 8
011: 8-bit Timer, Clock source is fXIN ÷ 16
100: 8-bit Timer, Clock source is fXIN ÷ 64
101: 8-bit Timer, Clock source is fXIN ÷ 256
110: 8-bit Timer, Clock source is fXIN ÷ 1024
111: 8-bit Timer, Clock source is fXIN ÷ 2048
0: Timer count pause
1: Timer count start
0: When cleared, stop the counting.
1: When set, Timer 0 Count Register is cleared and start again.
R/W R/W R/W R/W R/W R/W R/W R/W
76543210
TDR4H
TDR4L
R/W R/W R/W R/W R/W R/W R/W R/W
76543210
ADDRESS: 0DDH
INITIAL VALUE: 0FFH
ADDRESS: 0DEH
INITIAL VALUE: 0FFH
Figure 14-3 TM4 Registers
14.1 8-bit Timer / Counter Mode
The MC80F0424/0432/0448 has four 8-bit Timer/Counters, Tim-
er 0, Timer 1, Timer 2, Timer 3. The Timer 0, Timer 1 are shown
in Figure 14-4 and Timer 2, Timer 3 are shown in Figure 14-5.
The “timer” or “counter” function is selected by control registers
TM0, TM1, TM2, TM3 as shown in Figure 14-1. To use as an 8-
bit timer/counter mode, bit CAP0, CAP1, CAP2, or CAP3 of
TMx should be cleared to “0” and 16BIT of TM1 or TM3 should
be cleared to "0"(Figure 14-4). These timers have each 8-bit
count register and data register. The count register is increased by
every internal or external clock input. The internal clock has a
prescaler divide ratio option of 1, 2, 4, 8, 16, 32, 64, 128, 256,
512, 1024, 2048 or external clock (selected by control bits
TxCK0, TxCK1, TxCK2 of register TMx).
56
MAR. 2005 Ver 0.2