欢迎访问ic37.com |
会员登录 免费注册
发布采购

MPC82L54AS2 参数 Datasheet PDF下载

MPC82L54AS2图片预览
型号: MPC82L54AS2
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-bit micro-controller]
分类和应用: 微控制器
文件页数/大小: 74 页 / 1587 K
品牌: MEGAWIN [ MEGAWIN TECHNOLOGY CO., LTD ]
 浏览型号MPC82L54AS2的Datasheet PDF文件第39页浏览型号MPC82L54AS2的Datasheet PDF文件第40页浏览型号MPC82L54AS2的Datasheet PDF文件第41页浏览型号MPC82L54AS2的Datasheet PDF文件第42页浏览型号MPC82L54AS2的Datasheet PDF文件第44页浏览型号MPC82L54AS2的Datasheet PDF文件第45页浏览型号MPC82L54AS2的Datasheet PDF文件第46页浏览型号MPC82L54AS2的Datasheet PDF文件第47页  
Configure PCA Module  
ECOMn CAPPn CAPNn MATn  
TOGn PWMn ECCFn  
Module function  
0
0
1
0
0
0
0
0
0
0
0
0
No operation  
X
X
16-bit capture by a positive-edge trigger on  
CEXn  
X
X
1
1
1
0
1
0
0
0
1
1
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
0
0
1
X
X
X
X
0
16-bit capture by a negative trigger on CEXn  
16-bit capture by a transition on CEXn  
16-bit Software Timer  
16-bit High Speed Output  
8-bit PWM  
PCA Capture Mode  
To use one of the PCA modules in the capture mode, one or both of bits CAPPn and CAPNn  
in SFR CCAPMn should be set. The external CEXn input for the module is sampled for a  
transition. When a valid transition occurs, the PCA hardware loads the value of the PCA  
counter register (CH and CL) into the module’s capture registers (CCAPnH and CCAPnL). If  
the bit CCFn for the module in the SFR CCON and the bit ECCFn in the SFR CCAPMn are  
set then an interrupt will be generated.  
-
CF  
CR  
-
CCF3 CCF2 CCF1 CCF0  
CCON  
PCA  
interrupt  
CH  
CL  
CAPTURE  
CEXn  
CCAPnH CCAPnL  
ECOMn  
CAPPn  
CAPNn  
MATn  
TOGn  
PWMn  
ECCFn  
-
MDnCON  
0
0
0
0
PCA Capture Mode  
16-bit Software Timer Mode  
The PCA modules can be used as software timers by setting both the ECOMn and MATn bits  
in the CCAPMn register. The PCA timer will be compared to the module’s capture registers,  
and when a match occurs an interrupt will be generated if the CCFn and ECCFn bits for the  
module are both set.  
MEGAWIN  
MPC82x54A Data Sheet  
43  
 复制成功!