參數(shù)資料
型號: T89C51RB2-SLSIL
廠商: ATMEL CORP
元件分類: 微控制器/微處理器
英文描述: 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
中文描述: 8-BIT, FLASH, 40 MHz, MICROCONTROLLER, PQCC44
封裝: PLASTIC, LCC-44
文件頁數(shù): 124/170頁
文件大?。?/td> 1927K
代理商: T89C51RB2-SLSIL
124
A/T89C51CC01
4129L–CAN–08/05
Each module in the PCA has a special function register associated with it (CCAPM0 for
module 0 ...). The CCAPM0:4 registers contain the bits that control the mode that each
module will operate in.
The ECCF bit enables the CCF flag in the CCON register to generate an interrupt
when a match or compare occurs in the associated module.
The PWM bit enables the pulse width modulation mode.
The TOG bit 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 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 two bits CAPN and CAPP in CCAPMn register 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.
The bit ECOM in CCAPM register when set enables the comparator function.
PCA Interrupt
Figure 54.
PCA Interrupt System
PCA Capture Mode
To use one of the PCA modules in capture mode either one or both of the CCAPM bits
CAPN and CAPP for that module must be set. The external CEX input for the module
(on port 1) is sampled for a transition. When a valid transition occurs the PCA hardware
loads the value of the PCA counter registers (CH and CL) into the module’s capture reg-
isters (CCAPnL and CCAPnH). If the CCFn bit for the module in the CCON SFR and the
ECCFn bit in the CCAPMn SFR are set then an interrupt will be generated.
CF
CR
CCON
CCF4 CCF3
CCF2
CCF1
CCF0
Module 4
Module 3
Module 2
Module 1
Module 0
PCA Timer/Counter
ECCFn
CCAPMn.0
To Interrupt
EA
IEN0.7
EC
IEN0.6
ECF
CMOD.0
相關(guān)PDF資料
PDF描述
T89C51RB2-SLSIM 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RB2-SLTCL 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RB2-SLTCM 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RB2-SLTIL 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RB2-SLTIM 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
T89C51RB2-SLSIM 功能描述:IC MICRO CTRL 16K FLASH 44PLCC RoHS:否 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:89C 標(biāo)準(zhǔn)包裝:9 系列:87C 核心處理器:8051 芯體尺寸:8-位 速度:40/20MHz 連通性:UART/USART 外圍設(shè)備:POR,WDT 輸入/輸出數(shù):32 程序存儲器容量:32KB(32K x 8) 程序存儲器類型:OTP EEPROM 大小:- RAM 容量:256 x 8 電壓 - 電源 (Vcc/Vdd):4.5 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:- 振蕩器型:內(nèi)部 工作溫度:0°C ~ 70°C 封裝/外殼:40-DIP(0.600",15.24mm) 包裝:管件
T89C51RB2-SLTCL 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RB2-SLTCM 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RB2-SLTIL 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RB2-SLTIM 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH