资料介绍
This application note illustrates the different functions of the Programmable Counter Array (PCA) which are available on the 83C51FA and 83C51FB. Included are
cookbook samples of code in typical applications to simplify the use of the PCA. Since all the examples are written in assembly language, it is assumed the reader is
familiar with ASM51. For further information on these products or ASM51 refer to the Embedded Controller Handbook (Vol. I).
CONTENTS PAGE
PCA OVERVIEW 1
PCA TIMER/COUNTER 1
COMPARE/CAPTURE MODULES 3
CAPTURE MODE 5
Measuring Pulse Widths 5
Measuring Periods 7
Measuring Frequencies 7
Measuring Duty Cycles 9
Measuring Phase Differences 10
Reading the PCA Timer 13
COMPARE MODE 13
SOFTWARE TIMER 13
HIGH SPEED OUTPUT 15
WATCHDOG TIMER 18
PULSE WIDTH MODULATOR 19
CONCLUSION 21
APPENDICES
A. Test Routines A-1
B. Duty Cycle Calculation B-1
C. Special Function Registers C-1
FIGURES PAGE
1. PCA Timer/Counter and Compare/
Capture Modules 1
2. PCA Interrupt 4
3. PCA Capture Mode 5
4. Measuring Pulse Width 5
5. Measuring Period 7
6. Measuring Frequency 7
7. Measuring Duty Cycle 9
8. Measuring Phase Differences 10
9. Software Timer Mode 13
10. High Speed Output Mode 15
11. Watchdog Timer Mode 18
12. PWM Mode 19
13. CCAPnH Varies Duty Cycle 20
LISTINGS PAGE
1. Measuring Pulse Widths 6
2. Measuring Frequencies 8
3. Measuring Duty Cycle 9
4. Measuring Phase Differences 11
5. Software Timer 14
6. High Speed Output (Without
Interrupt) 15
7. High Speed Output (With Interrupt) 16
8. High Speed Output (Single Pulse) 17
9. Watchdog Timer 19
10. PWM 21
TABLES PAGE
1. PCA Timer/Counter Inputs 2
2. CMOD Values 2
3. Compare/Capture Mode Values 3
4. PWM Frequencies 20
cookbook samples of code in typical applications to simplify the use of the PCA. Since all the examples are written in assembly language, it is assumed the reader is
familiar with ASM51. For further information on these products or ASM51 refer to the Embedded Controller Handbook (Vol. I).
CONTENTS PAGE
PCA OVERVIEW 1
PCA TIMER/COUNTER 1
COMPARE/CAPTURE MODULES 3
CAPTURE MODE 5
Measuring Pulse Widths 5
Measuring Periods 7
Measuring Frequencies 7
Measuring Duty Cycles 9
Measuring Phase Differences 10
Reading the PCA Timer 13
COMPARE MODE 13
SOFTWARE TIMER 13
HIGH SPEED OUTPUT 15
WATCHDOG TIMER 18
PULSE WIDTH MODULATOR 19
CONCLUSION 21
APPENDICES
A. Test Routines A-1
B. Duty Cycle Calculation B-1
C. Special Function Registers C-1
FIGURES PAGE
1. PCA Timer/Counter and Compare/
Capture Modules 1
2. PCA Interrupt 4
3. PCA Capture Mode 5
4. Measuring Pulse Width 5
5. Measuring Period 7
6. Measuring Frequency 7
7. Measuring Duty Cycle 9
8. Measuring Phase Differences 10
9. Software Timer Mode 13
10. High Speed Output Mode 15
11. Watchdog Timer Mode 18
12. PWM Mode 19
13. CCAPnH Varies Duty Cycle 20
LISTINGS PAGE
1. Measuring Pulse Widths 6
2. Measuring Frequencies 8
3. Measuring Duty Cycle 9
4. Measuring Phase Differences 11
5. Software Timer 14
6. High Speed Output (Without
Interrupt) 15
7. High Speed Output (With Interrupt) 16
8. High Speed Output (Single Pulse) 17
9. Watchdog Timer 19
10. PWM 21
TABLES PAGE
1. PCA Timer/Counter Inputs 2
2. CMOD Values 2
3. Compare/Capture Mode Values 3
4. PWM Frequencies 20
下载该资料的人也在下载
下载该资料的人还在阅读
更多 >
- M32C/83群(M32C/83、M32C/83T)硬件手册
- M32C/83群(M32C/83、M32C/83T)硬件手册
- C51定时器计数器
- 单片机(AT89C51)定时/计数器实验案例
- 基于51单片机的计数器源代码下载 16次下载
- 51单片机的计数器和定时器的详细资料讲解
- 单片机教程之80C51的中断系统及定时和计数器的详细资料概述 9次下载
- 基于可编程器件的任意进制计数器的设计
- 可编程计数器陈列PCA原理及应用设计
- MCS51微控制器系列的补充说明-83C51KB用户手册
- 83C51FA串行接口新增功能(自动地址识别和帧错误检测)的
- 83C51FA以最少的硬件要求实现直流电机的有效控制
- 可编程计数器阵列83C51FA在不同的比较 捕捉模式实现串口
- 用PSD3XX可编程外围简化80C31 80C51微控制器的
- 用PSD3XX可编程外围简化80C31 80C51微控制器的
- PLC计数器的工作原理与功能 1131次阅读
- 什么是现场可编程逻辑阵列?它有哪些特点和应用? 486次阅读
- 现场可编程门阵列的基本结构和优缺点 405次阅读
- 现场可编程门阵列简介 394次阅读
- 现场可编程门阵列是什么 2218次阅读
- FPGA现场可编程门阵列的综合指南 549次阅读
- 使用AT89C51实现的微型可编程控制器的讲解 2605次阅读
- 80C51单片机内部定时器和计数器的结构及原理解析 1.4w次阅读
- 基于AT89C51单片机的算术运算计算器系统设计 4459次阅读
- AT89S51单片机的定时/计数器T0的应用 5285次阅读
- 51 单片机编程:双路计数器详解 5757次阅读
- 51单片机定时/计数器详解(工作原理及模式、应用) 14.2w次阅读
- 光电编码器用可编程计数电路的设计与实现 1w次阅读
- 可编程逻辑阵列(PLA)简介 1.9w次阅读
- 基于FPGA和单片机的多功能计数器设计 4995次阅读
下载排行
本周
- 1电子电路原理第七版PDF电子教材免费下载
- 0.00 MB | 1491次下载 | 免费
- 2单片机典型实例介绍
- 18.19 MB | 95次下载 | 1 积分
- 3S7-200PLC编程实例详细资料
- 1.17 MB | 27次下载 | 1 积分
- 4笔记本电脑主板的元件识别和讲解说明
- 4.28 MB | 18次下载 | 4 积分
- 5开关电源原理及各功能电路详解
- 0.38 MB | 11次下载 | 免费
- 6100W短波放大电路图
- 0.05 MB | 4次下载 | 3 积分
- 7基于单片机和 SG3525的程控开关电源设计
- 0.23 MB | 4次下载 | 免费
- 8基于AT89C2051/4051单片机编程器的实验
- 0.11 MB | 4次下载 | 免费
本月
- 1OrCAD10.5下载OrCAD10.5中文版软件
- 0.00 MB | 234313次下载 | 免费
- 2PADS 9.0 2009最新版 -下载
- 0.00 MB | 66304次下载 | 免费
- 3protel99下载protel99软件下载(中文版)
- 0.00 MB | 51209次下载 | 免费
- 4LabView 8.0 专业版下载 (3CD完整版)
- 0.00 MB | 51043次下载 | 免费
- 5555集成电路应用800例(新编版)
- 0.00 MB | 33562次下载 | 免费
- 6接口电路图大全
- 未知 | 30320次下载 | 免费
- 7Multisim 10下载Multisim 10 中文版
- 0.00 MB | 28588次下载 | 免费
- 8开关电源设计实例指南
- 未知 | 21539次下载 | 免费
总榜
- 1matlab软件下载入口
- 未知 | 935053次下载 | 免费
- 2protel99se软件下载(可英文版转中文版)
- 78.1 MB | 537793次下载 | 免费
- 3MATLAB 7.1 下载 (含软件介绍)
- 未知 | 420026次下载 | 免费
- 4OrCAD10.5下载OrCAD10.5中文版软件
- 0.00 MB | 234313次下载 | 免费
- 5Altium DXP2002下载入口
- 未知 | 233046次下载 | 免费
- 6电路仿真软件multisim 10.0免费下载
- 340992 | 191183次下载 | 免费
- 7十天学会AVR单片机与C语言视频教程 下载
- 158M | 183277次下载 | 免费
- 8proe5.0野火版下载(中文版免费下载)
- 未知 | 138039次下载 | 免费
评论
查看更多