資料介紹
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次下載 | 免費
評論
查看更多