参数资料
型号: AT83C5112
厂商: Atmel Corp.
英文描述: 8-bit Microcontroller with A/D Converter
中文描述: 8位微控制器与A / D转换器
文件页数: 55/97页
文件大小: 1229K
代理商: AT83C5112
55
AT8xC5112
4191B
8051
04/03
The PCA interrupt system is shown in Figure 24 below.
Figure 24.
PCA Interrupt System
PCA Modules:
each one of the five compare/capture modules has six possible func-
tions. 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 regis-
ters are: CCAPM0 for module 0, CCAPM1 for module 1, etc. (See Table 43). 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.
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
EC
IE.7
EA
To Interrupt
priority decoder
相关PDF资料
PDF描述
AT87C5112 8-bit Microcontroller with A/D Converter
AT80C51RB2-3CSCM 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-3CSIM 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-3CSUM 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-RLTIL 80C51 High Performance ROM 8-bit Microcontroller
相关代理商/技术参数
参数描述
AT83C5121 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-bit Microcontroller with Multiprotocol Smart Card Interface
AT83C5121XXX-ICRUL 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-bit Microcontroller with Multiprotocol Smart Card Interface
AT83C5121XXX-ICSUL 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-bit Microcontroller with Multiprotocol Smart Card Interface
AT83C5121XXX-PURUL 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-bit Microcontroller with Multiprotocol Smart Card Interface
AT83C5121XXX-PUTUL 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-bit Microcontroller with Multiprotocol Smart Card Interface