資料介紹
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定時(shí)器計(jì)數(shù)器
- 單片機(jī)(AT89C51)定時(shí)/計(jì)數(shù)器實(shí)驗(yàn)案例
- 基于51單片機(jī)的計(jì)數(shù)器源代碼下載 16次下載
- 51單片機(jī)的計(jì)數(shù)器和定時(shí)器的詳細(xì)資料講解
- 單片機(jī)教程之80C51的中斷系統(tǒng)及定時(shí)和計(jì)數(shù)器的詳細(xì)資料概述 9次下載
- 基于可編程器件的任意進(jìn)制計(jì)數(shù)器的設(shè)計(jì)
- 可編程計(jì)數(shù)器陳列PCA原理及應(yīng)用設(shè)計(jì)
- MCS51微控制器系列的補(bǔ)充說明-83C51KB用戶手冊
- 83C51FA串行接口新增功能(自動(dòng)地址識(shí)別和幀錯(cuò)誤檢測)的
- 83C51FA以最少的硬件要求實(shí)現(xiàn)直流電機(jī)的有效控制
- 可編程計(jì)數(shù)器陣列83C51FA在不同的比較 捕捉模式實(shí)現(xiàn)串口
- 用PSD3XX可編程外圍簡化80C31 80C51微控制器的
- 用PSD3XX可編程外圍簡化80C31 80C51微控制器的
- PLC計(jì)數(shù)器的工作原理與功能 1131次閱讀
- 什么是現(xiàn)場可編程邏輯陣列?它有哪些特點(diǎn)和應(yīng)用? 486次閱讀
- 現(xiàn)場可編程門陣列的基本結(jié)構(gòu)和優(yōu)缺點(diǎn) 405次閱讀
- 現(xiàn)場可編程門陣列簡介 394次閱讀
- 現(xiàn)場可編程門陣列是什么 2218次閱讀
- FPGA現(xiàn)場可編程門陣列的綜合指南 549次閱讀
- 使用AT89C51實(shí)現(xiàn)的微型可編程控制器的講解 2605次閱讀
- 80C51單片機(jī)內(nèi)部定時(shí)器和計(jì)數(shù)器的結(jié)構(gòu)及原理解析 1.4w次閱讀
- 基于AT89C51單片機(jī)的算術(shù)運(yùn)算計(jì)算器系統(tǒng)設(shè)計(jì) 4459次閱讀
- AT89S51單片機(jī)的定時(shí)/計(jì)數(shù)器T0的應(yīng)用 5285次閱讀
- 51 單片機(jī)編程:雙路計(jì)數(shù)器詳解 5757次閱讀
- 51單片機(jī)定時(shí)/計(jì)數(shù)器詳解(工作原理及模式、應(yīng)用) 14.2w次閱讀
- 光電編碼器用可編程計(jì)數(shù)電路的設(shè)計(jì)與實(shí)現(xiàn) 1w次閱讀
- 可編程邏輯陣列(PLA)簡介 1.9w次閱讀
- 基于FPGA和單片機(jī)的多功能計(jì)數(shù)器設(shè)計(jì) 4995次閱讀
下載排行
本周
- 1電子電路原理第七版PDF電子教材免費(fèi)下載
- 0.00 MB | 1491次下載 | 免費(fèi)
- 2單片機(jī)典型實(shí)例介紹
- 18.19 MB | 95次下載 | 1 積分
- 3S7-200PLC編程實(shí)例詳細(xì)資料
- 1.17 MB | 27次下載 | 1 積分
- 4筆記本電腦主板的元件識(shí)別和講解說明
- 4.28 MB | 18次下載 | 4 積分
- 5開關(guān)電源原理及各功能電路詳解
- 0.38 MB | 11次下載 | 免費(fèi)
- 6100W短波放大電路圖
- 0.05 MB | 4次下載 | 3 積分
- 7基于單片機(jī)和 SG3525的程控開關(guān)電源設(shè)計(jì)
- 0.23 MB | 4次下載 | 免費(fèi)
- 8基于AT89C2051/4051單片機(jī)編程器的實(shí)驗(yàn)
- 0.11 MB | 4次下載 | 免費(fèi)
本月
- 1OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234313次下載 | 免費(fèi)
- 2PADS 9.0 2009最新版 -下載
- 0.00 MB | 66304次下載 | 免費(fèi)
- 3protel99下載protel99軟件下載(中文版)
- 0.00 MB | 51209次下載 | 免費(fèi)
- 4LabView 8.0 專業(yè)版下載 (3CD完整版)
- 0.00 MB | 51043次下載 | 免費(fèi)
- 5555集成電路應(yīng)用800例(新編版)
- 0.00 MB | 33562次下載 | 免費(fèi)
- 6接口電路圖大全
- 未知 | 30320次下載 | 免費(fèi)
- 7Multisim 10下載Multisim 10 中文版
- 0.00 MB | 28588次下載 | 免費(fèi)
- 8開關(guān)電源設(shè)計(jì)實(shí)例指南
- 未知 | 21539次下載 | 免費(fèi)
總榜
- 1matlab軟件下載入口
- 未知 | 935053次下載 | 免費(fèi)
- 2protel99se軟件下載(可英文版轉(zhuǎn)中文版)
- 78.1 MB | 537793次下載 | 免費(fèi)
- 3MATLAB 7.1 下載 (含軟件介紹)
- 未知 | 420026次下載 | 免費(fèi)
- 4OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234313次下載 | 免費(fèi)
- 5Altium DXP2002下載入口
- 未知 | 233046次下載 | 免費(fèi)
- 6電路仿真軟件multisim 10.0免費(fèi)下載
- 340992 | 191183次下載 | 免費(fèi)
- 7十天學(xué)會(huì)AVR單片機(jī)與C語言視頻教程 下載
- 158M | 183277次下載 | 免費(fèi)
- 8proe5.0野火版下載(中文版免費(fèi)下載)
- 未知 | 138039次下載 | 免費(fèi)
評(píng)論
查看更多