參數(shù)資料
型號: T89C51IC2-SLSIL
廠商: ATMEL CORP
元件分類: 微控制器/微處理器
英文描述: 8-bit Microcontroller with Flash and I2C Interface
中文描述: 8-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQCC44
封裝: PLASTIC, LCC-44
文件頁數(shù): 63/170頁
文件大?。?/td> 1927K
代理商: T89C51IC2-SLSIL
63
A/T89C51CC01
4129L–CAN–08/05
Mode 2 (8-bit Timer with Auto-
Reload)
Mode 2 configures Timer 0 as an 8-bit Timer (TL0 register) that automatically reloads
from TH0 register (see Figure 33). TL0 overflow sets TF0 flag in TCON register and
reloads TL0 with the contents of TH0, which is preset by software. When the interrupt
request is serviced, hardware clears TF0. The reload leaves TH0 unchanged. The next
reload value may be changed at any time by writing it to TH0 register.
Figure 33.
Timer/Counter x (x = 0 or 1) in Mode 2
See the “Clock” section
Mode 3 (Two 8-bit Timers)
Mode 3 configures Timer 0 such that registers TL0 and TH0 operate as separate 8-bit
Timers (see Figure 34). This mode is provided for applications requiring an additional 8-
bit Timer or Counter. TL0 uses the Timer 0 control bits C/T0# and GATE0 in TMOD reg-
ister, and TR0 and TF0 in TCON register in the normal manner. TH0 is locked into a
Timer function (counting F
PER
/6) and takes over use of the Timer 1 interrupt (TF1) and
run control (TR1) bits. Thus, operation of Timer 1 is restricted when Timer 0 is in mode
3.
Figure 34.
Timer/Counter 0 in Mode 3: Two 8-bit Counters
TRx
TCON reg
TFx
TCON reg
0
1
GATEx
TMOD reg
Overflow
Timer x
Interrupt
Request
C/Tx#
TMOD reg
TLx
(8 bits)
THx
(8 bits)
INTx#
Tx
FTx
CLOCK
÷
6
TR0
TCON.4
TF0
TCON.5
INT0#
0
1
GATE0
TMOD.3
Overflow
Timer 0
Interrupt
Request
C/T0#
TMOD.2
TL0
(8 bits)
TR1
TCON.6
TH0
(8 bits)
TF1
TCON.7
Overflow
Timer 1
Interrupt
Request
T0
FTx
CLOCK
÷
6
FTx
CLOCK
÷
6
See the “Clock” section
相關(guān)PDF資料
PDF描述
T89C51IC2-SLSIM 8-bit Microcontroller with Flash and I2C Interface
T89C51RB2-3CWIL 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RC2-3CWIL 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RC2-RLWCM 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RC2-RLWIL 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
T89C51IC2-SLSIM 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with Flash and I2C Interface
T89C51RB2 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 16K/ 32K Bytes Flash
T89C51RB2_06 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 16K/ 32K Bytes Flash
T89C51RB2-3CBCL 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RB2-3CBCM 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH