参数资料
型号: TS80C51RD2-MCLB
厂商: ATMEL CORP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, 40 MHz, MICROCONTROLLER, PQCC68
封装: PLASTIC, LCC-68
文件页数: 20/74页
文件大小: 689K
代理商: TS80C51RD2-MCLB
Rev. C - 06 March, 2001
27
TS80C51RA2/RD2
TS83C51RB2/RC2/RD2
TS87C51RB2/RC2/RD2
Figure 8. PCA Interrupt System
PCA Modules: each one of the five compare/capture modules has six possible functions. It can perform:
16-bit Capture, positive-edge triggered,
16-bit Capture, negative-edge triggered,
16-bit Capture, both positive and negative-edge triggered,
16-bit Software Timer,
16-bit High Speed Output,
8-bit Pulse Width Modulator.
In addition, module 4 can be used as a Watchdog Timer.
Each module in the PCA has a special function register associated with it. These registers are: CCAPM0 for
module 0, CCAPM1 for module 1, etc. (See Table 10). The registers contain the bits that control the mode
that each module will operate in.
The ECCF bit (CCAPMn.0 where n=0, 1, 2, 3, or 4 depending on the module) enables the CCF flag in the
CCON SFR to generate an interrupt when a match or compare occurs in the associated module.
PWM (CCAPMn.1) enables the pulse width modulation mode.
The TOG bit (CCAPMn.2) when set causes the CEX output associated with the module to toggle when there
is a match between the PCA counter and the module's capture/compare register.
The match bit MAT (CCAPMn.3) when set will cause the CCFn bit in the CCON register to be set when there
is a match between the PCA counter and the module's capture/compare register.
The next two bits CAPN (CCAPMn.4) and CAPP (CCAPMn.5) determine the edge that a capture input will
be active on. The CAPN bit enables the negative edge, and the CAPP bit enables the positive edge. If both
bits are set both edges will be enabled and a capture will occur for either transition.
The last bit in the register ECOM (CCAPMn.6) when set enables the comparator function.
Table 11 shows the CCAPMn settings for the various PCA functions.
.
CF
CR
CCON
0xD8
CCF4
CCF3
CCF2
CCF1
CCF0
Module 4
Module 3
Module 2
Module 1
Module 0
ECF
PCA Timer/Counter
ECCFn CCAPMn.0
CMOD.0
IE.6
IE.7
To Interrupt
priority decoder
EC
EA
相关PDF资料
PDF描述
TS83C51RB2ZZZ-LCEB 8-BIT, MROM, 30 MHz, MICROCONTROLLER, PQFP44
TS87C51RD2-MIMB 8-BIT, OTPROM, 40 MHz, MICROCONTROLLER, PQFP64
TS87C51RB2-EED 8-BIT, OTPROM, MICROCONTROLLER, PQFP44
TS87C51RD2-VIBD 8-BIT, OTPROM, 40 MHz, MICROCONTROLLER, PQCC44
TSA5526MDK-T PLL FREQUENCY SYNTHESIZER, 1300 MHz, PDSO16
相关代理商/技术参数
参数描述
TS80C51RD2-MCLD 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller
TS80C51RD2-MCLR 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller
TS80C51RD2-MCM 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:High Performance 8-bit Microcontroller
TS80C51RD2-MCMB 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller
TS80C51RD2-MCMD 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller