參數(shù)資料
型號(hào): TS80C51RA2-LCJR
廠商: Atmel Corp.
英文描述: High Performance 8-bit Microcontrollers
中文描述: 高性能8位微控制器
文件頁(yè)數(shù): 23/74頁(yè)
文件大小: 903K
代理商: TS80C51RA2-LCJR
Rev. C - 06 March, 2001
23
TS80C51RA2/RD2
TS83C51RB2/RC2/RD2
TS87C51RB2/RC2/RD2
6.5. Programmable Counter Array PCA
The PCA provides more timing capabilities with less CPU intervention than the standard timer/counters. Its
advantages include reduced software overhead and improved accuracy. The PCA consists of a dedicated
timer/counter which serves as the time base for an array of five compare/ capture modules. Its clock input
can be programmed to count any one of the following signals:
Timer 0 overflow
External input on ECI (P1.2)
Oscillator frequency
÷
12 (
÷
6 in X2 mode)
Oscillator frequency
÷
4 (
÷
2 in X2 mode)
Each compare/capture modules can be programmed in any one of the following modes:
rising and/or falling edge capture,
software timer,
high-speed output, or
pulse width modulator.
Module 4 can also be programmed as a watchdog timer (See Section "PCA Watchdog Timer", page 33).
When the compare/capture modules are programmed in the capture mode, software timer, or high speed
output mode, an interrupt can be generated when the module executes its function. All five modules plus the
PCA timer overflow share one interrupt vector.
The PCA timer/counter and compare/capture modules share Port 1 for external I/O. These pins are listed
below. If the port is not used for the PCA, it can still be used for standard I/O.
The PCA timer
is a common time base for all five modules (
See Figure 7)
. The timer count source is
determined from the CPS1 and CPS0 bits in the
CMOD SFR
(See Table 8) and can be programmed to run
at:
1/12 the oscillator frequency. (Or 1/6 in X2 Mode)
1/4 the oscillator frequency. (Or 1/2 in X2 Mode)
The Timer 0 overflow
The input on the ECI pin (P1.2)
PCA component
16-bit Counter
16-bit Module 0
16-bit Module 1
16-bit Module 2
16-bit Module 3
16-bit Module 4
External I/O Pin
P1.2 / ECI
P1.3 / CEX0
P1.4 / CEX1
P1.5 / CEX2
P1.6 / CEX3
P1.7 / CEX4
相關(guān)PDF資料
PDF描述
TS80C51RA2-MCJR High Performance 8-bit Microcontrollers
TS80C51RA2-VCLB High Performance 8-bit Microcontrollers
TS80C51RA2-VCLD High Performance 8-bit Microcontrollers
TS80C51RA2-VCLR High Performance 8-bit Microcontrollers
TS80C51RA2-VCMB High Performance 8-bit Microcontrollers
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
TS80C51RA2-LCKB 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:High Performance 8-bit Microcontrollers
TS80C51RA2-LCKD 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:High Performance 8-bit Microcontrollers
TS80C51RA2-LCKR 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:High Performance 8-bit Microcontrollers
TS80C51RA2-LCLB 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:High Performance 8-bit Microcontrollers
TS80C51RA2-LCLD 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:High Performance 8-bit Microcontrollers