<ol id="glfvi"></ol>

    <fieldset id="glfvi"></fieldset>

    1. <mark id="glfvi"></mark>
        <var id="glfvi"></var>

        <big id="glfvi"></big>

        天堂8在线天堂资源BT_一区二区在线 | 国_天堂SV在线最新版在线_97在线观看视频_欧美成人影院在线观看

        機(jī)電之家資源網(wǎng)
        單片機(jī)首頁(yè)|單片機(jī)基礎(chǔ)|單片機(jī)應(yīng)用|單片機(jī)開發(fā)|單片機(jī)文案|軟件資料下載|音響制作|電路圖下載 |嵌入式開發(fā)
        培訓(xùn)信息
        贊助商
        STC12C5410AD系列頭文件
        STC12C5410AD系列頭文件
         更新時(shí)間:2008-7-26 20:37:29  點(diǎn)擊數(shù):5
        【字體: 字體顏色
        /* After is STC additional SFR or change */

        /* sfr  AUXR  = 0x8e; */
        /* sfr  IPH   = 0xb7; */

        /* Watchdog Timer Register */
        sfr  WDT_CONTR = 0xe1;   

        /* ISP_IAP_EEPROM Register */
        sfr ISP_DATA  = 0xe2;
        sfr ISP_ADDRH = 0xe3;
        sfr ISP_ADDRL = 0xe4;
        sfr ISP_CMD   = 0xe5;
        sfr ISP_TRIG  = 0xe6;
        sfr ISP_CONTR = 0xe7;

        /* System Clock Divider */
        sfr CLK_DIV  = 0xc7;

        /* I_O Port Mode Set Register */
        sfr P0M0  = 0x93;
        sfr P0M1  = 0x94;
        sfr P1M0  = 0x91;
        sfr P1M1  = 0x92;
        sfr P2M0  = 0x95;
        sfr P2M1  = 0x96;
        sfr P3M0  = 0xb1;
        sfr P3M1  = 0xb2;

        /* SPI Register */
        sfr SPSTAT  = 0x84;
        sfr SPCTL   = 0x85;
        sfr SPDAT   = 0x86;

        /* ADC Register */
        sfr ADC_CONTR  = 0xc5;
        sfr ADC_DATA   = 0xc6;
        sfr ADC_LOW2   = 0xbe;

        /* PCA SFR */
        sfr CCON   = 0xD8;
        sfr CMOD   = 0xD9;
        sfr CCAPM0 = 0xDA;
        sfr CCAPM1 = 0xDB;
        sfr CCAPM2 = 0xDC;
        sfr CCAPM3 = 0xDD;
        sfr CCAPM4 = 0xDE;
        sfr CCAPM5 = 0xDF;

        sfr CL     = 0xE9;
        sfr CCAP0L = 0xEA;
        sfr CCAP1L = 0xEB;
        sfr CCAP2L = 0xEC;
        sfr CCAP3L = 0xED;
        sfr CCAP4L = 0xEE;
        sfr CCAP5L = 0xEF;

        sfr CH     = 0xF9;
        sfr CCAP0H = 0xFA;
        sfr CCAP1H = 0xFB;
        sfr CCAP2H = 0xFC;
        sfr CCAP3H = 0xFD;
        sfr CCAP4H = 0xFE;
        sfr CCAP5H = 0xFF;

        sfr PCA_PWM0 = 0xF2;
        sfr PCA_PWM1 = 0xF3;
        sfr PCA_PWM2 = 0xF4;
        sfr PCA_PWM3 = 0xF5;
        sfr PCA_PWM4 = 0xF6;
        sfr PCA_PWM5 = 0xF7;

        /*  CCON  */
        sbit CF    = CCON^7;
        sbit CR    = CCON^6;
        sbit CCF5  = CCON^5;
        sbit CCF4  = CCON^4;
        sbit CCF3  = CCON^3;
        sbit CCF2  = CCON^2;
        sbit CCF1  = CCON^1;
        sbit CCF0  = CCON^0;


        /* Above is STC additional SFR or change */

        /*--------------------------------------------------------------------------
        REG51F.H

        Header file for 8xC31/51, 80C51Fx, 80C51Rx+
        Copyright (c) 1988-1999 Keil Elektronik GmbH and Keil Software, Inc.
        All rights reserved.

        Modification according to DataSheet from April 1999
        - SFR's AUXR and AUXR1 added for 80C51Rx+ derivatives
        --------------------------------------------------------------------------*/

        /*  BYTE Registers  */
        sfr P0   = 0x80;
        sfr P1   = 0x90;
        sfr P2   = 0xA0;
        sfr P3   = 0xB0;
        sfr PSW  = 0xD0;
        sfr ACC  = 0xE0;
        sfr B    = 0xF0;
        sfr SP   = 0x81;
        sfr DPL  = 0x82;
        sfr DPH  = 0x83;
        sfr PCON = 0x87;
        sfr TCON = 0x88;
        sfr TMOD = 0x89;
        sfr TL0  = 0x8A;
        sfr TL1  = 0x8B;
        sfr TH0  = 0x8C;
        sfr TH1  = 0x8D;
        sfr IE   = 0xA8;
        sfr IP   = 0xB8;
        sfr SCON = 0x98;
        sfr SBUF = 0x99;

        /*  80C51Fx/Rx Extensions  */
        sfr AUXR   = 0x8E;
        /* sfr AUXR1  = 0xA2; */
        sfr SADDR  = 0xA9;
        sfr IPH    = 0xB7;
        sfr SADEN  = 0xB9;
        sfr T2CON  = 0xC8;
        sfr T2MOD  = 0xC9;
        sfr RCAP2L = 0xCA;
        sfr RCAP2H = 0xCB;
        sfr TL2    = 0xCC;
        sfr TH2    = 0xCD;


        /*  BIT Registers  */
        /*  PSW   */
        sbit CY   = PSW^7;
        sbit AC   = PSW^6;
        sbit F0   = PSW^5;
        sbit RS1  = PSW^4;
        sbit RS0  = PSW^3;
        sbit OV   = PSW^2;
        sbit P    = PSW^0;

        /*  TCON  */
        sbit TF1  = TCON^7;
        sbit TR1  = TCON^6;
        sbit TF0  = TCON^5;
        sbit TR0  = TCON^4;
        sbit IE1  = TCON^3;
        sbit IT1  = TCON^2;
        sbit IE0  = TCON^1;
        sbit IT0  = TCON^0;

        /*  P3  */
        sbit RD   = P3^7;
        sbit WR   = P3^6;
        sbit T1   = P3^5;
        sbit T0   = P3^4;
        sbit INT1 = P3^3;
        sbit INT0 = P3^2;
        sbit TXD  = P3^1;
        sbit RXD  = P3^0;

        /*  SCON  */
        sbit SM0  = SCON^7; // alternatively "FE"
        sbit FE   = SCON^7;
        sbit SM1  = SCON^6;
        sbit SM2  = SCON^5;
        sbit REN  = SCON^4;
        sbit TB8  = SCON^3;
        sbit RB8  = SCON^2;
        sbit TI   = SCON^1;
        sbit RI   = SCON^0;
                    

        sbit T2EX = P1^1;
        sbit T2   = P1^0;

        /*  T2CON  */
        sbit TF2   = T2CON^7;
        sbit EXF2  = T2CON^6;
        sbit RCLK  = T2CON^5;
        sbit TCLK  = T2CON^4;
        sbit EXEN2 = T2CON^3;
        sbit TR2   = T2CON^2;
        sbit C_T2  = T2CON^1;
        sbit CP_RL2= T2CON^0;

        /* PCA Pin */

        sbit CEX3 = P2^4;
        sbit CEX2 = P2^0;
        sbit CEX1 = P3^5;
        sbit CEX0 = P3^7;
        sbit ECI  = P3^4;

        /*  IE   */
        sbit EA   = IE^7;
        sbit EPCA_LVD  = IE^6;
        sbit EADC_SPI  = IE^5;
        sbit ES   = IE^4;
        sbit ET1  = IE^3;
        sbit EX1  = IE^2;
        sbit ET0  = IE^1;
        sbit EX0  = IE^0;

        /*  IP   */
        sbit PPCA_LVD  = IP^6;
        sbit PADC_SPI  = IP^5;
        sbit PS   = IP^4;
        sbit PT1  = IP^3;
        sbit PX1  = IP^2;
        sbit PT0  = IP^1;
        sbit PX0  = IP^0;

      1. 上一篇: STC12C2052AD頭文件
      2. 下一篇: STC89C51RC/RD+系列頭文件
      3. 發(fā)表評(píng)論   告訴好友   打印此文  收藏此頁(yè)  關(guān)閉窗口  返回頂部
        熱點(diǎn)文章
         
        推薦文章
         
        相關(guān)文章
        網(wǎng)友評(píng)論:(只顯示最新5條。)
        關(guān)于我們 | 聯(lián)系我們 | 廣告合作 | 付款方式 | 使用幫助 | 機(jī)電之家 | 會(huì)員助手 | 免費(fèi)鏈接

        點(diǎn)擊這里給我發(fā)消息66821730(技術(shù)支持)點(diǎn)擊這里給我發(fā)消息66821730(廣告投放) 點(diǎn)擊這里給我發(fā)消息41031197(編輯) 點(diǎn)擊這里給我發(fā)消息58733127(審核)
        本站提供的機(jī)電設(shè)備,機(jī)電供求等信息由機(jī)電企業(yè)自行提供,該企業(yè)負(fù)責(zé)信息內(nèi)容的真實(shí)性、準(zhǔn)確性和合法性。
        機(jī)電之家對(duì)此不承擔(dān)任何保證責(zé)任,有侵犯您利益的地方請(qǐng)聯(lián)系機(jī)電之家,機(jī)電之家將及時(shí)作出處理。
        Copyright 2007 機(jī)電之家 Inc All Rights Reserved.機(jī)電之家-由機(jī)電一體化網(wǎng)更名-聲明
        電話:0571-87774297 傳真:0571-87774298
        杭州濱興科技有限公司提供技術(shù)支持

        主辦:杭州市高新區(qū)(濱江)機(jī)電一體化學(xué)會(huì)
        中國(guó)行業(yè)電子商務(wù)100強(qiáng)網(wǎng)站

        網(wǎng)站經(jīng)營(yíng)許可證:浙B2-20080178-1
        黑人巨茎大战欧美白妇_一区二区在线 | 国_天堂SV在线最新版在线_97在线观看视频
          <ol id="glfvi"></ol>

          <fieldset id="glfvi"></fieldset>

          1. <mark id="glfvi"></mark>
              <var id="glfvi"></var>

              <big id="glfvi"></big>