数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

T89C51AC2-RLSI-M 数据表(PDF) 59 Page - ATMEL Corporation

部件名 T89C51AC2-RLSI-M
功能描述  8-bit MCU with 32K bytes Flash, 10 bits A/D and EEPROM
PDF  117 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  ATMEL [ATMEL Corporation]
网页  http://www.atmel.com
标志 ATMEL - ATMEL Corporation

T89C51AC2-RLSI-M 数据表(HTML) 59 Page - ATMEL Corporation

Back Button T89C51AC2-RLSI-M Datasheet HTML 55Page - ATMEL Corporation T89C51AC2-RLSI-M Datasheet HTML 56Page - ATMEL Corporation T89C51AC2-RLSI-M Datasheet HTML 57Page - ATMEL Corporation T89C51AC2-RLSI-M Datasheet HTML 58Page - ATMEL Corporation T89C51AC2-RLSI-M Datasheet HTML 59Page - ATMEL Corporation T89C51AC2-RLSI-M Datasheet HTML 60Page - ATMEL Corporation T89C51AC2-RLSI-M Datasheet HTML 61Page - ATMEL Corporation T89C51AC2-RLSI-M Datasheet HTML 62Page - ATMEL Corporation T89C51AC2-RLSI-M Datasheet HTML 63Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 59 / 117 page
background image
Draft.A - March 30, 2001
59
Preview - Confidential
T89C51AC2
12.3.4. 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 45). 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 register, and TR0 and TF0 in TCON register in the normal manner. TH0 is
locked into a Timer function (counting FPER /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 45. Timer/Counter 0 in Mode 3: Two 8-bit Counters
12.4. Timer 1
Timer 1 is identical to Timer 0 excepted for Mode 3 which is a hold-count mode. Following comments help to
understand the differences:
Timer 1 functions as either a Timer or event Counter in three modes of operation. Figure 42 to Figure 44 show
the logical configuration for modes 0, 1, and 2. Timer 1’s mode 3 is a hold-count mode.
Timer 1 is controlled by the four high-order bits of TMOD register (see Figure 48) and bits 2, 3, 6 and 7 of
TCON register (see Figure 47). TMOD register selects the method of Timer gating (GATE1), Timer or Counter
operation (C/T1#) and mode of operation (M11 and M01). TCON register provides Timer 1 control functions:
overflow flag (TF1), run control bit (TR1), interrupt flag (IE1) and interrupt type control bit (IT1).
Timer 1 can serve as the Baud Rate Generator for the Serial Port. Mode 2 is best suited for this purpose.
For normal Timer operation (GATE1= 0), setting TR1 allows TL1 to be incremented by the selected input.
Setting GATE1 and TR1 allows external pin INT1# to control Timer operation.
Timer 1 overflow (count rolls over from all 1s to all 0s) sets the TF1 flag generating an interrupt request.
When Timer 0 is in mode 3, it uses Timer 1’s overflow flag (TF1) and run control bit (TR1). For this situation,
use Timer 1 only for applications that do not require an interrupt (such as a Baud Rate Generator for the Serial
Port) and switch Timer 1 in and out of mode 3 to turn it off and on.
It is important to stop Timer/Counter before changing mode.
12.4.1. Mode 0 (13-bit Timer)
Mode 0 configures Timer 1 as a 13-bit Timer, which is set up as an 8-bit Timer (TH1 register) with a modulo-
32 prescaler implemented with the lower 5 bits of the TL1 register (see Figure 42). The upper 3 bits of TL1 register
are ignored. Prescaler overflow increments TH1 register.
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
PERIPH
CLOCK
÷ 6
PERIPH
CLOCK
÷ 6



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com