MCS-51单片机的特殊寄存器.doc_第1页
MCS-51单片机的特殊寄存器.doc_第2页
MCS-51单片机的特殊寄存器.doc_第3页
MCS-51单片机的特殊寄存器.doc_第4页
MCS-51单片机的特殊寄存器.doc_第5页
已阅读5页,还剩2页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

leading cadres awareness of right in place, study the party Constitution and party rules, series of speeches can make proper effect. Party cadres to two lead by example, to lead by example we must change our mind, recognizing that two is important. First, learn the Communist Party Constitution Party rules, learning learning series important speech by General Secretary can enhance theory. With the third revolution the rise of rapid changes in our life are feeling, the Communists should adhere to the theory of confidence will continue to learn from the voices of the times, the times, in turn, will have new requirements for leading party cadres. Two is the most basic meaning of members all mastering the core theory and the most advanced weapons theory, complement the spirit of calcium. Secondly, the Communist Party Constitution Party rules, learning learning series important speech by General Secretary be able to firmly build the ideological foundation. Under the impact of multiple values, the two is to help cultivate independent judgment in numerous miscellaneous multiple concepts, so that the majority consensus of party members, the important magic weapon of the party with the resonance frequency. Finally, the Constitution of the Communist Party, party rules, learning learning series important speech can stand crowds, General Secretary position. Now, some grass-roots work in the the old way didnt work, hard way cannot, the new approach would not phenomenon, sometimes due to a mass of party members and cadres not understanding, does not meet. In fact, the mass convincing and identityBehind are likely to be party members and leading cadres themselves ignoring beliefs held, resulting in lack of persuasion and sense of identity. Two is in fact guaranteed party cadres work, an important prerequisite for convincing the masses. Bacon said it well: practical men can handle individual matters, but looking at the whole operation globally, but only man can do to knowledge. Giving up two effective, must first raise awareness of leading cadres of party members, as party members learn real responsibility to know to music , good changes, in parallel with the ground, do not forget to also answer the antenna, draw catches on meteorology, which sit between heaven and Earth which melds together the dreams of practicing Communist. Members cadres should in two learn a do in the based post do contribution in all members in the carried out learn Constitution Party rules, and learn series speech, do qualified members learning education, this is following party of mass line education practice activities and three strict three real topic education zhihou, deepening party education of and once important practice, is promoted three strict three real topic education from key minority to all members expand, and from concentrated education to regular education extends of important initiatives. Vast numbers of party members and cadres in the course of two, should beMCS-51单片机的特殊寄存器寄存器列表(21个)名称符号地址功能典型实例B寄存器BF0H1、主要用于乘除法运算2、作为RAM的一个单元使用累加器AE0H是80c51单片机中最繁忙的寄存器,用于向ALU提供操作数,许多运算的结果也存放在累加器中程序状态字存储器PSWD0H用于寄存指令执行的状态信息。其中有些位状态是根据指令执行结果,有硬件自动设置的,而有些位则是由软件方法设置的SETB PSW.3中断优先级寄存器IPB8H1、MCS-51的中断优先级控制比较简单,因为系统只定义了高低2个优先级2、各中断源的优先级由中断优先级寄存器(IP)进行设定MOV IP,#03H意义:INT0和T0为高优先级P3端口寄存器P3B0HP3口可以最为通用的I/O使用,但在实际应用中它的第二功能信号更为重要SETB P3.0P3口的低0位置1最为通用的I/O使用中断允许寄存器IEA8H控制中断系统所有中断以及某个中断源开放和屏蔽MOV IE,#81H意义:开启定时计数器T1的中断源P2端口寄存器P2A0HP2口可以作为通用的I/O接口,也可以作为地址总线MOV P2,#01HP2的第0位置1最为通用的I/O使用串行控制寄存器SCON98H用以设定串行接口的工作方式、接收/发送控制以及设置状态标准,可进行位寻址MOV SCON,#50H代表的意义:设定串口方式1,准备接收P1端口寄存器P190HP1接口是80C51的唯一的单功能接口,仅能用作通用的数据输入输出接口JB P1.0,DV1代表的意义:P1.0为1,转到DV1程序定时控制寄存器TCON88HTCON的低4位用于控制外部中断,TCON的高4位用于控制定时/计数器的启动和中断申请SETB TR0代表的意义:启动T0P0接口寄存器P080HP0用作通用I/O接口,P0用作地址/数据总线串行数据寄存器SBUF99HMcs-51有两个独立的接收、发送缓冲SBUF,它们占用地址99H,可以发送、接收数据,发送缓冲器只能写入,不能读出;接收缓冲器只能读出,不能写入MOV R0,#40HMOV SBUF,R0发送一个数据字节40H定时计数器1高8位TH18DH定时计数器1高8位计数初值寄存器MOV TH1,#0FCH代表的意义为:定时计数器1初值高8位的值为FCH.定时计数器0高8位TH08CH定时计数器0高8位计数初值寄存器MOV TH0,#0FCH代表的意义为:定时计数器0初值高8位的值为FCH.定时计数器1低8位TL18BH定时计数器1低8位计数初值寄存器MOV TL1,#0FCH代表的意义为:定时计数器1初值低8位的值为FCH。定时计数器0低8位TL08AH定时计数器0低8位计数初值寄存器MOV TL0,#0FCH代表的意义为:定时计数器0初值低8位的值为FCH。定时计数器工作模式控制寄存器TMOD89H控制定时计数器工作模式、定时/计数功能呢的选择、定时计数器的启动形式以及定时计数器T0和T1的选择寄存器TMOD=0X01代表的意义是:T0实现定时功能,工作模式1,TR0启动定时计数器, 电源及波特率选择寄存器PCON87H一位与电源控制有关,所以叫电源控制寄存器,最高位SMOD是串行口波特率的倍增位MOV PCON,#80H代表的意义是:串行口波特率数据高8位指针DPH83H传送数据指针寄存器DPTR中,高8位装入DPH中MOV DPTR,#2100可以写成MOV DPH,#21H代表的意义是:2100H立即数的高8位21H装入DPH数据低8位指针DPL83H传送数据指针寄存器DPTR中,低8位装入DPL中MOV DPTR,#2100可以写成MOV DPL#00H代表的意义是:2100H立即数的低8位00H装入DPL堆栈指针SP81H指示堆栈栈顶的存储单元地址1、B寄存器F7HF6HF5HF4HF3HF2HF1HF0HB.7B.6B.5B.4B.3B.2B.1B.12、A累加器E7HE6HE5HE4HE3HE2HE1HE0HACC.7ACC.6ACC.5ACC.4ACC.3ACC.2ACC.1ACC.03、PSW寄存器4、IP寄存器5、P3接口寄存器B7HB6HB5HB4HB3HB2HB1HB0HP3.7P3.6P3.5P3.4P3.3P3.2P3.1P3.06、IE寄存器7、P2寄存器A7HA6HA5HA4HA3HA2HA1HA0HP2.7P2.6P2.5P2.4P2.3P2.2P2.1P2.08、SCON串口控制寄存器9、P1口寄存器97H96H95H94H93H92H91H90HP1.7P1.6P1.5P1.4P1.3P1.2P1.1P1.010、TCON寄存器11、P0接口寄存器87H86H85H84H83H82H81H80HP0.7P0.6P0.5P0.4P0.3P0.2P0.1P0.012、TMOD寄存器13、PCON寄存器n SMOD:波特率倍增位。当SMOD=1时,波特率加倍;当SMOD=0时,波特率不加倍。n GF1、GF0:两个通用标志位,用户使用。n 当将PD置1的指令执行后,80C51进入掉电方式,此时片内振荡器停止工作,仅片内RAM内容被保持,SFR内容也被破坏。掉电方式下Vcc可降到2V,耗电仅50A。退出掉电方式唯一方法是硬件复位。应当保证进入掉电方式前Vcc不降下来,在通过硬件复位退出掉电方式之前应当先保证Vcc恢复到正常值。n 当将IDL位置1指令执行后,80C51进入节电方式。这时供给CPU的时钟信号被切断,但时钟信号仍送给片内RAM、定时器、中断系统和串口,同时CPU状态被保存,即堆栈指针、程序计数器PC、程序状态字PSW、累加器ACC及通用寄存器的内容。节电方式下Vcc仍为5V,但耗电从24mA降到3.7mA。退出掉电方式有两种,一种是任一中断被激活,一种是硬件复位,前者较为常用。非谓语动词是历年高考英语的重要考点之一,也是较难掌握的难点之一。它贯穿于英语学习和考试过程的始终。但是,只要认真分析、透彻理解、看透本质、准确把握,就一定能在高考中运筹帷幄,游刃有余。based on their actual, striving to be learning and done markers. Strengthening theoretical study, belief and faith. Theory is an action guide, only theoretical knowledge in place, to unity, action can consciously. Constitution is the fundamental law of the party, party rules are party must follow the General rules. Studying and implementing the party Constitution Party rules and a series of important speech, General Secretary, is a guide to persisting and developing socialism with Chinese characteristics, is a basic work of strengthening the partys construction, but also each and every Communist Party Members obligations and solemn responsibility. These important content, for each party, must know would believe will do both. WeGeneral Secretary of the party Constitution, a series of remarks with, and hold, grasp the real learning that basis, based on the Constitution speak to issue, in accordance with the series changed the problem. Second, disciplined in line, to become law-abiding model. Is not no rules. If there is no iron discipline, party members and cadres will become a mess, it will lose its fighting strength and vitality, purity and naturally much less advanced. By two education, party members and cadres to keep the bottom line, not the more red lines, consciously practice the three Suns and consciously act according to the Constitution, party rules, remains a political force, to perform party oath, a tree of its own image. Three is the loyal, dare to play and play to party members. Learning is the Foundation, is the key to development is the goal. Two main objective is to let the majority of the play to the exemplary role of party members and cadres, party Constitution, party rules to examine. To use new criteria to guide our behavior. Through education, the ideal and conviction, keep in mind that membership, learn, learn, learn go play a vanguard and exemplary role, the courage to play as, and always maintain the pioneer, pioneering and enterprising spirit, and constantly improve our own capacity and level of service, according to positions and make contr

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论