FMUSER Wirless Transmit Video And Audio More Easier !

[email protected] WhatsApp +8618078869184
Language

    Head file AT89X051.H

     

    "头文件AT89x051.H /*--------------------------------------------------------------------------AT89x051.H Atmel 89C1051U、89C2051、89C4051的头文件。版权所有(c)1995-2000 Keil软件公司。保留所有权利--------------------------------------------------------------------------*/ #如果NDEF AT89CX051_头文件#定义AT89CX051_头文件1 /*------------------------------------------------字节寄存器-----------------------------------------*/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 P1=0x90;sfr SCON=0x98;sfr SBUF=0x99;sfr IE=0xA8;sfr P3=0xB0;sfr IP=0xB8;sfr PSW=0xD0;sfr ACC=0xE0;sfr B=0xF0; /*------------------------------------------------PCON位值-------------------------------------------------------------*/#定义IDL_uuu001#定义停止u002#定义EWT_004#定义EPFW_08#定义WTR_0x10#定义PFW_0x20#定义POR_0x40#定义SMOD 0x80 /*------------------------------------------------TCON位寄存器---------------------------------------------------*/sbit IT0=0x88;sbit IE0=0x89;sbit IT1=0x8A;sbit IE1=0x8B;sbit TR0=0x8C;sbit TF0=0x8D;sbit TR1=0x8E;sbit TF1=0x8F; /*------------------------------------------------TMOD位值-------------------------------------------------------------*/#定义T0_M0_U0;0x01#定义T0_M1_U002#定义T0_CT_U0;0x04#定义T0_U门0x08#定义T1_M0_U0x10#定义T1_M1_U0x20#定义T1_CT_U0x40#0x40#定义T1_U门0x80 #定义T1_掩码0xF0#定义T0_掩码0x0F /*------------------------------------------------P1位寄存器-----------------------------------------*/sbit P1_0=0x90;sbit P1_1=0x91;sbit P1_2=0x92;sbit P1_3=0x93;sbit P1_4=0x94;sbit P1_5=0x95;sbit P1_6=0x96;sbit P1_7=0x97; sbit AIN0=0x90;/*+模拟比较器输入*/sbit AIN1=0x91;/*-模拟比较器输入*/ /*------------------------------------------------SCON位寄存器-----------------------------------------*/sbit RI=0x98;sbit TI=0x99;sbit RB8=0x9A;sbit TB8=0x9B;sbit REN=0x9C;sbit SM2=0x9D;sbit SM1=0x9E;sbit SM0=0x9F; /*------------------------------------------------IE位寄存器-----------------------------------------*/sbit EX0=0xA8;/*1=启用外部中断0*/sbit ET0=0xA9;/*1=启用定时器0中断*/sbit EX1=0xAA;/*1=启用外部中断1*/sbit ET1=0xAB;/*1=启用定时器1中断*/sbit ES=0xAC;/*1=启用串行端口中断*/sbit ET2=0xAD;/*1=启用定时器2中断*/ sbit EA=0xAF;/*0=禁用所有中断*/ /*------------------------------------------------P3位寄存器(助记符和端口)--------------------------------------------------------------*/sbit P3_0=0xB0;sbit P3_1=0xB1;sbit P3_2=0xB2;sbit P3_3=0xB3;sbit P3_4=0xB4;sbit P3_5=0xB5;/*P3_6硬接线为AOUT*/sbit P3_7=0xB7; sbit RXD=0xB0;/*串行数据输入*/sbit TXD=0xB1;/*串行数据输出*/sbit INT0=0xB2;/*外部中断0*/sbit INT1=0xB3;/*外部中断1*/sbit T0=0xB4;/*定时器0外部输入*/sbit T1=0xB5;/*定时器1外部输入*/sbit AOUT=0xB6;/*模拟比较器输出*/ /*------------------------------------------------IP位寄存器-----------------------------------------*/sbit PX0=0xB8;sbit PT0=0xB9;sbit PX1=0xBA;sbit PT1=0xBB;sbit-PS=0xBC; /*------------------------------------------------PSW位寄存器-----------------------------------------*/sbit P=0xD0;sbit FL=0xD1;sbit OV=0xD2;sbit RS0=0xD3;sbit RS1=0xD4;sbit F0=0xD5;sbit AC=0xD6;sbit CY=0xD7; /*------------------------------------------------中断向量:中断地址=(数字*8)+3----------------------------------------------------------------*/#定义IE0\U向量0/*0x03外部中断0*/#定义TF0\U向量1/*0x0B定时器0*/#定义IE1\U向量2/*0x13外部中断1*/#定义TF1\U向量3/*0x1B定时器1*/#定义SIO_矢量4/*0x23串行端口*/ /*------------------------------------------------------------------------------------------------*/#endif,阅读全文,技术专区 关于ARM7 S3C4510B上μClinux移植问题 多回路化成充放电控制器设计方案 手臂嵌入式系统的中断服务例程跳转 基于8.位微控制器的发光二极管调光引擎设计 如何在液晶显示器上显示汉字、ASCII码字符和彩色图形"

     

     

     

     

    List all Question

    Nickname

    Email

    Questions

    Our other product:

    Professional FM Radio Station Equipment Package

     



     

    Hotel IPTV Solution

     


      Enter email  to get a surprise

      fmuser.org

      es.fmuser.org
      it.fmuser.org
      fr.fmuser.org
      de.fmuser.org
      af.fmuser.org ->Afrikaans
      sq.fmuser.org ->Albanian
      ar.fmuser.org ->Arabic
      hy.fmuser.org ->Armenian
      az.fmuser.org ->Azerbaijani
      eu.fmuser.org ->Basque
      be.fmuser.org ->Belarusian
      bg.fmuser.org ->Bulgarian
      ca.fmuser.org ->Catalan
      zh-CN.fmuser.org ->Chinese (Simplified)
      zh-TW.fmuser.org ->Chinese (Traditional)
      hr.fmuser.org ->Croatian
      cs.fmuser.org ->Czech
      da.fmuser.org ->Danish
      nl.fmuser.org ->Dutch
      et.fmuser.org ->Estonian
      tl.fmuser.org ->Filipino
      fi.fmuser.org ->Finnish
      fr.fmuser.org ->French
      gl.fmuser.org ->Galician
      ka.fmuser.org ->Georgian
      de.fmuser.org ->German
      el.fmuser.org ->Greek
      ht.fmuser.org ->Haitian Creole
      iw.fmuser.org ->Hebrew
      hi.fmuser.org ->Hindi
      hu.fmuser.org ->Hungarian
      is.fmuser.org ->Icelandic
      id.fmuser.org ->Indonesian
      ga.fmuser.org ->Irish
      it.fmuser.org ->Italian
      ja.fmuser.org ->Japanese
      ko.fmuser.org ->Korean
      lv.fmuser.org ->Latvian
      lt.fmuser.org ->Lithuanian
      mk.fmuser.org ->Macedonian
      ms.fmuser.org ->Malay
      mt.fmuser.org ->Maltese
      no.fmuser.org ->Norwegian
      fa.fmuser.org ->Persian
      pl.fmuser.org ->Polish
      pt.fmuser.org ->Portuguese
      ro.fmuser.org ->Romanian
      ru.fmuser.org ->Russian
      sr.fmuser.org ->Serbian
      sk.fmuser.org ->Slovak
      sl.fmuser.org ->Slovenian
      es.fmuser.org ->Spanish
      sw.fmuser.org ->Swahili
      sv.fmuser.org ->Swedish
      th.fmuser.org ->Thai
      tr.fmuser.org ->Turkish
      uk.fmuser.org ->Ukrainian
      ur.fmuser.org ->Urdu
      vi.fmuser.org ->Vietnamese
      cy.fmuser.org ->Welsh
      yi.fmuser.org ->Yiddish

       
  •  

    FMUSER Wirless Transmit Video And Audio More Easier !

  • Contact

    Address:
    No.305 Room HuiLan Building No.273 Huanpu Road Guangzhou China 510620

    E-mail:
    [email protected]

    Tel / WhatApps:
    +8618078869184

  • Categories

  • Newsletter

    FIRST OR FULL NAME

    E-mail

  • paypal solution  Western UnionBank OF China
    E-mail:[email protected]   WhatsApp:+8618078869184   Skype:sky198710021 Chat with me
    Copyright 2006-2020 Powered By www.fmuser.org

    Contact Us