參數(shù)資料
型號: AT89LV55-12PC
廠商: Atmel
文件頁數(shù): 32/32頁
文件大小: 0K
描述: IC 8051 MCU FLASH 20K 40DIP
標準包裝: 10
系列: 89LV
核心處理器: 8051
芯體尺寸: 8-位
速度: 12MHz
連通性: UART/USART
輸入/輸出數(shù): 32
程序存儲器容量: 20KB(20K x 8)
程序存儲器類型: 閃存
RAM 容量: 256 x 8
電壓 - 電源 (Vcc/Vdd): 2.7 V ~ 6 V
振蕩器型: 內(nèi)部
工作溫度: 0°C ~ 70°C
封裝/外殼: 40-DIP(0.600",15.24mm)
包裝: 管件
9
0811E–MICRO–9/08
AT89LV55
.
8.1
Capture Mode
In the capture mode, two options are selected by bit EXEN2 in T2CON. If EXEN2 = 0, Timer 2 is
a 16-bit timer or counter which upon overflow sets bit TF2 in T2CON. This bit can then be used
to generate an interrupt. If EXEN2 = 1, Timer 2 performs the same operation, but a 1-to-0 transi-
tion at external input T2EX also causes the current value in TH2 and TL2 to be captured into
RCAP2H and RCAP2L, respectively. In addition, the transition at T2EX causes bit EXF2 in
T2CON to be set. The EXF2 bit, like TF2, can generate an interrupt. The capture mode is illus-
trated in Figure 8-1.
Figure 8-1.
Timer 2 in Capture Mode
8.2
Auto-reload (Up or Down Counter)
Timer 2 can be programmed to count up or down when configured in its 16-bit auto-reload
mode. This feature is invoked by the DCEN (Down Counter Enable) bit located in the SFR
T2MOD (see Table 8-2). Upon reset, the DCEN bit is set to 0 so that timer 2 will default to count
up. When DCEN is set, Timer 2 can count up or down, depending on the value of the T2EX pin.
Figure 8-2 shows Timer 2 automatically counting up when DCEN = 0. In this mode, two options
are selected by bit EXEN2 in T2CON. If EXEN2 = 0, Timer 2 counts up to 0FFFFH and then sets
the TF2 bit upon overflow. The overflow also causes the timer registers to be reloaded with the
16-bit value in RCAP2H and RCAP2L. The values in RCAP2H and RCAP2L are preset by soft-
ware. If EXEN2 = 1, a 16-bit reload can be triggered either by an overflow or by a 1-to-0
transition at external input T2EX. This transition also sets the EXF2 bit. Both the TF2 and EXF2
bits can generate an interrupt if enabled.
Setting the DCEN bit enables Timer 2 to count up or down, as shown in Figure 8-3. In this mode,
the T2EX pin controls the direction of the count. A logic 1 at T2EX makes Timer 2 count up. The
timer will overflow at 0FFFFH and set the TF2 bit. This overflow also causes the 16-bit value in
RCAP2H and RCAP2L to be reloaded into the timer registers, TH2 and TL2, respectively.
Table 8-1.
Timer 2 Operating Modes
RCLK + TCLK
CP/RL2
TR2
MODE
0
1
16-bit Auto-reload
0
1
16-bit Capture
1
X
1
Baud Rate Generator
X
0
(Off)
相關PDF資料
PDF描述
AT89LV55-12JI IC 8051 MCU FLASH 20K 44PLCC
AT89LV55-12JC IC 8051 MCU FLASH 20K 44PLCC
AT89LV55-12AI IC 8051 MCU FLASH 20K 44TQFP
AT89LV55-12AC IC 8051 MCU FLASH 20K 44TQFP
AT91RM9200-CI-002 IC ARM9 MCU 256 BGA
相關代理商/技術參數(shù)
參數(shù)描述
AT89LV55-12PI 功能描述:8位微控制器 -MCU 80C31 w/8k RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
AT89OCD-01 功能描述:仿真器/模擬器 Emulator to load/ debug AtmelAT8xC51 RoHS:否 制造商:Blackhawk 產(chǎn)品:System Trace Emulators 工具用于評估:C6000, C5000, C2000, OMAP, DAVINCI, SITARA, TMS470, TMS570, ARM 7/9, ARM Cortex A8/R4/M3 用于:XDS560v2
AT89RFD-01 功能描述:音頻 IC 開發(fā)工具 MP3 Reference Design Chejudo RoHS:否 制造商:Texas Instruments 產(chǎn)品:Evaluation Kits 類型:Audio Amplifiers 工具用于評估:TAS5614L 工作電源電壓:12 V to 38 V
AT89RFD-02 功能描述:界面開發(fā)工具 AT83C22OK/AT83C23OK Reference Design RoHS:否 制造商:Bourns 產(chǎn)品:Evaluation Boards 類型:RS-485 工具用于評估:ADM3485E 接口類型:RS-485 工作電源電壓:3.3 V
AT89RFD-05 功能描述:界面開發(fā)工具 SCR Reference Design RoHS:否 制造商:Bourns 產(chǎn)品:Evaluation Boards 類型:RS-485 工具用于評估:ADM3485E 接口類型:RS-485 工作電源電壓:3.3 V