参数资料
型号: TS87C54X2-VIE
厂商: Atmel
文件页数: 6/62页
文件大小: 0K
描述: IC MCU 8BIT 16K OTP 40MHZ 44VQFP
标准包装: 160
系列: 87C
核心处理器: 8051
芯体尺寸: 8-位
速度: 40/30MHz
连通性: UART/USART
外围设备: POR,WDT
输入/输出数: 32
程序存储器容量: 16KB(16K x 8)
程序存储器类型: OTP
RAM 容量: 256 x 8
电压 - 电源 (Vcc/Vdd): 4.5 V ~ 5.5 V
振荡器型: 内部
工作温度: -40°C ~ 85°C
封装/外壳: 44-QFP
包装: 托盘
14
4431E–8051–04/06
AT/TS8xC54/8X2
8.
Timer 2
The timer 2 in the
TS80C54/58X2 is compatible with the timer 2 in the 80C52.
It is a 16-bit timer/counter: the count is maintained by two eight-bit timer registers, TH2 and TL2,
connected in cascade. It is controlled by T2CON register (See Table 8-1) and T2MOD register
(See Table 8-2). Timer 2 operation is similar to Timer 0 and Timer 1. C/T2 selects F
OSC/12 (timer
operation) or external pin T2 (counter operation) as the timer clock input. Setting TR2 allows TL2
to be incremented by the selected input.
Timer 2 has 3 operating modes: capture, autoreload and Baud Rate Generator. These modes
are selected by the combination of RCLK, TCLK and CP/RL2 (T2CON), as described in the
Atmel Wireless & Microcontrollers 8-bit Microcontroller Hardware description.
Refer to the Atmel Wireless & Microcontrollers 8-bit Microcontroller Hardware description for the
description of Capture and Baud Rate Generator Modes.
In
TS80C54/58X2 Timer 2 includes the following enhancements:
Auto-reload mode with up or down counter
Programmable clock-output
8.1
Auto-Reload Mode
The auto-reload mode configures timer 2 as a 16-bit timer or event counter with automatic
reload. If DCEN bit in T2MOD is cleared, timer 2 behaves as in 80C52 (refer to the Atmel Wire-
less & Microcontrollers 8-bit Microcontroller Hardware description). If DCEN bit is set, timer 2
acts as an Up/down timer/counter as shown in Figure 8-1. In this mode the T2EX pin controls
the direction of count.
When T2EX is high, timer 2 counts up. Timer overflow occurs at FFFFh which sets the TF2 flag
and generates an interrupt request. The overflow also causes the 16-bit value in RCAP2H and
RCAP2L registers to be loaded into the timer registers TH2 and TL2.
When T2EX is low, timer 2 counts down. Timer underflow occurs when the count in the timer
registers TH2 and TL2 equals the value stored in RCAP2H and RCAP2L registers. The under-
flow sets TF2 flag and reloads FFFFh into the timer registers.
The EXF2 bit toggles when timer 2 overflows or underflows according to the the direction of the
count. EXF2 does not generate any interrupt. This bit can be used to provide 17-bit resolution
相关PDF资料
PDF描述
52746-1670 CONN FFC 16POS .5MM R/A ZIF SMD
TS80C31X2-LCE IC MCU 8BIT 30/20MHZ 44-VQFP
TS87C54X2-MIE IC MCU 8BIT 16K OTP 40MHZ 44VQFP
TS80C51RA2-MCE IC MCU 8BIT 256BYTE 40MHZ 44VQFP
TS80C31X2-VIE IC MCU 8BIT 40/30MHZ 44-VQFP
相关代理商/技术参数
参数描述
TS87C54X2-VIEB 制造商:未知厂家 制造商全称:未知厂家 功能描述:MICROCONTROLLER|8-BIT|8051 CPU|CMOS|QFP|44PIN|PLASTIC
TS87C54X2-VIED 制造商:未知厂家 制造商全称:未知厂家 功能描述:MICROCONTROLLER|8-BIT|8051 CPU|CMOS|QFP|44PIN|PLASTIC
TS87C54X2-VIER 制造商:未知厂家 制造商全称:未知厂家 功能描述:MICROCONTROLLER|8-BIT|8051 CPU|CMOS|QFP|44PIN|PLASTIC
TS87C58 制造商:INTEL 制造商全称:Intel Corporation 功能描述:CHMOS SINGLE-CHIP 8-BIT MICROCONTROLLER
TS87C58X2 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-bit CMOS Microcontroller 16/32 Kbytes ROM/OTP