DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

A8351601F-40 查看數據表(PDF) - AMIC Technology

零件编号
产品描述 (功能)
生产厂家
A8351601F-40
AMIC
AMIC Technology AMIC
A8351601F-40 Datasheet PDF : 44 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
A8351601 Series
Timer Set-Up
Tables 3 through 6 give TMOD values that can be used to
set up Timers in different modes.
It assumes that only one timer is used at a time. If Timers 0
and 1 must run simultaneously in any mode, the value in
TMOD for Timer 0 must be ORed with the value shown for
Timer 1 (Tables 5 and 6).
For example, if Timer 0 must run in Mode 1 GATE (external
control), and Timer 1 must run in Mode 2 COUNTER, then
the value that must be loaded into TMOD is 69H (09H from
Table 3 ORed with 60H from Table 6).
Moreover, it is assumed that the user is not ready at this
point to turn the timers on and will do so at another point in
the program by setting bit TRx (in TCON) to 1.
Table 3. Timer/Counter 0 Used as a Timer
TMOD
Mode Timer 0 Function Internal
Control(1)
External
Control(2)
0
13-Bit Timer
00H
08H
1
16-Bit Timer
01H
09H
2 8-Bit Auto-Reload
02H
0AH
3
Two 8-Bit timers
03H
0BH
Table 4. Timer/Counter 0 Used as a Counter
TMOD
Mode Timer 0 Function Internal
Control(1)
External
Control(2)
0
13-Bit Timer
04H
1
16-Bit Timer
05H
2 8-Bit Auto-Reload
06H
3 One 8-Bit Counter
07H
0CH
0DH
0EH
0FH
Notes:
1. The Timer is turned ON/OFF by setting/clearing bit TR0
in the software.
Table 5. Timer/Counter 1 Used as a Timer
TMOD
Mode Timer 1 Function Internal
Control(1)
External
Control(2)
0
13-Bit Timer
00H
80H
1
16-Bit Timer
10H
90H
2 8-Bit Auto-Reload
20H
A0H
3
Does Not Run
30H
B0H
Table 6. Timer/Counter 1 Used as a Timer
Mode Timer 1 Function
TMOD
Internal
Control(1)
External
Control(2)
0
13-Bit Timer
40H
1
16-Bit Timer
50H
2 8-Bit Auto-Reload
60H
3
Not Available
-
C0H
D0H
E0H
-
Notes:
1. The Timer is turned ON/OFF by setting/clearing bit TR1
in the software.
2. The Timer is turned ON/OFF by the 1 to 0 transition on
INT1 (P3.3) when TR1 = 1 (hardware control).
(July, 2002, Version 1.0)
18
AMIC Technology, Inc.

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]