MCS-51和MSP430单片机定时器的应用比较 |
| |
引用本文: | 吴怀超.MCS-51和MSP430单片机定时器的应用比较[J].工业控制计算机,2010,23(9):99-100,102. |
| |
作者姓名: | 吴怀超 |
| |
作者单位: | 贵州大学机械工程学院,贵州,贵阳,550003 |
| |
基金项目: | 贵州省优秀科技教育人才省长资金资助项目(黔省专合字,贵州省高层次人才特助经费资助项目 |
| |
摘 要: | 以单片机产生PWM波作为实例,对MCS-51单片机定时器T0和MSP430单片机的TimerA进行了比较,得知MCS-51单片机定时器T0结构简单、入门容易、使用方便,但功能较弱,对编程技巧要求较高,而MSP430单片机的TimerA结构复杂、功能强大、入门不易,但使用灵活,对编程技巧要求不高,从而建议用户应根据自身的知识基础和应用场合来选择单片机实现定时的功能。
|
关 键 词: | MCS-51 MSP430 单片机 定时器 |
Application Comparison of Timer in MCS-51 and MSP430 |
| |
Abstract: | Taking the example of producing pulse width modulated wave by single-chip microcomputer,Timer0 in MCS-51 single-chip microcomputer and Timer A in MSP430 single-chip microcomputer are compared,and it is known that Timer0 in MCS-51 single-chip microcomputer has the following characteristics:the structure is simple,the introduction is easy and the usage is convenient,but,the function is not strong and the demand of programming skill is high,and Timer A in MSP430 single-chip microcomputer has the following characteristics:the structure is complex,the function is strong and the introduction is not easy,but,the usage is flexible and the demand of programming skill is not high,thus,it is suggested that the users should select single-chip microcomputer to implement timing function in the light of their own knowledge foundation and application situation. |
| |
Keywords: | MCS-51 MSP430 |
本文献已被 维普 万方数据 等数据库收录! |
|