參數(shù)資料
型號(hào): W78ERD2_07
廠商: WINBOND ELECTRONICS CORP
元件分類: 8位微控制器
英文描述: 8-BIT MICROCONTROLLER
中文描述: 8位微控制器
文件頁(yè)數(shù): 44/76頁(yè)
文件大小: 650K
代理商: W78ERD2_07
W78ERD2/W78ERD2A
- 44 -
11. PROGRAMMABLE COUNTER ARRAY (PCA)
The PCA is a special 16-bit timer that has five 16-bit capture/compare modules associated with it.
Each module can be programmed to operate in one of four modes: rising and/or falling edge capture,
software timer, high-speed output, or pulse width modulator. Each module has a pin associated with it
in port 1. Module 0 is connected to p1.3 (CEX0), module 1 to p1.4 (CEX1), and so on.
PCA Timer/Counter
Module0
Module1
Module2
Module3
Module4
P1.3/CEX0
P1.4/CEX1
P1.5/CEX2
P1.6/CEX3
P1.7/CEX4
time base for PCA modules
Module Functions:
16-bit Capture
16-bit Timer/Compare
16-bit High Speed Output
8-bit PWM
Watchdog Timer (Module 4 Only)
CH
16-bit Up-Counter
CL
Figure 11-1 Programmable Counter Array (PCA)
Each module has a special function register CCAPM
n
, where
n
is the same number as the module
(CCAPM0 for module0, CCAPM1 for module1, etc.). CCAPM
n
contains the bits that control the mode
of each module.
CCAPMn: PCA module compare/capture register
CCAPM0(DAH) , CCAPM1(DBH) , CCAPM2(DCH) , CCAPM3(DDH), CCAPM4(DEH)
BIT
NAME
FUNCTION
7
-
Reserved
6
ECOMn
Enable Comparator. ECOMn = 1 enables the comparator function
5
CAPPn
Capture Positive. CAPPn = 1 enables positive-edge capture.
4
CAPNn
Capture Negative. CAPNn = 1 enables negative-edge capture.
3
MATn
Match. When MATn = 1 a match of the PCA counter with this module’s
compare/capture register causes the CCF
n
bit in CCON to be set and, if
ECCFn is set, generating an interrupt.
2
TOGn
Toggle. When TOGn = 1 a match of the PCA counter with this module’s
compare/capture register causes the CEXn bit to toggle.
1
PWMn
Pulse Width Modulation Mode. PWMn = 1 enables the CEXn bit to be used
for pulse-width modulated output.
0
ECCFn
Enable CCF interrupt. Enables the compare/capture flag CCFn in the
CCON register to generate an interrupt.
相關(guān)PDF資料
PDF描述
W78ERD2A 8-BIT MICROCONTROLLER
W78ERD2A40DL 8-BIT MICROCONTROLLER
W78ERD2A40FL 8-BIT MICROCONTROLLER
W78ERD2A40PL 8-BIT MICROCONTROLLER
W78ERD2 8-BIT MICROCONTROLLER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
W78ERD2A 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MICROCONTROLLER
W78ERD2A40DL 功能描述:IC MCU 8-BIT 64K FLASH 40-DIP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:W78 標(biāo)準(zhǔn)包裝:300 系列:78K0R/Ix3 核心處理器:78K/0R 芯體尺寸:16-位 速度:40MHz 連通性:3 線 SIO,I²C,LIN,UART/USART 外圍設(shè)備:DMA,LVD,POR,PWM,WDT 輸入/輸出數(shù):27 程序存儲(chǔ)器容量:16KB(16K x 8) 程序存儲(chǔ)器類型:閃存 EEPROM 大小:- RAM 容量:1K x 8 電壓 - 電源 (Vcc/Vdd):2.7 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:38-SSOP 包裝:托盤
W78ERD2A40DN 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MICROCONTROLLER
W78ERD2A40FL 功能描述:IC MCU 8-BIT 64K FLASH 44-PQFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:W78 標(biāo)準(zhǔn)包裝:300 系列:78K0R/Ix3 核心處理器:78K/0R 芯體尺寸:16-位 速度:40MHz 連通性:3 線 SIO,I²C,LIN,UART/USART 外圍設(shè)備:DMA,LVD,POR,PWM,WDT 輸入/輸出數(shù):27 程序存儲(chǔ)器容量:16KB(16K x 8) 程序存儲(chǔ)器類型:閃存 EEPROM 大小:- RAM 容量:1K x 8 電壓 - 電源 (Vcc/Vdd):2.7 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:38-SSOP 包裝:托盤
W78ERD2A40FN 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MICROCONTROLLER