亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

Interrupt-Pins

  • 溫濕度傳感器 sht11 仿真程序下載

    溫濕度傳感器 sht11 仿真程序 sbit out =P3^0; //加熱口  //sbit input =P1^1;//檢測口  //sbit speek =P2^0;//報警  sbit clo =P3^7;//時鐘  sbit ST =P3^5;//開始  sbit EOC =P3^6;//成功信號  sbit gwei =P3^4;//個位  sbit swei =P3^3;//十位 sbit bwei =P3^2;//百位 sbit qwei =P3^1;//千位 sbit speak =P0^0;//報警音 sbit bjled =P0^1;//報警燈 sbit zcled =P0^2;//正常LED  int count;  uchar xianzhi;//取轉(zhuǎn)換結(jié)果 uchar seth;//高時間 uchar setl;//低時間 uchar seth_mi;//高時間 uchar setl_mi;//低時間  bit  hlbz;//高低標志  bit  clbz;  bit  spbz;       ///定時中斷程序/// void t0 (void) interrupt 1 using 0 {     TH0=(65536-200)/256;//5ms*200=1000ms=1s   TL0=(65536-200)%256;  clo=!clo;//產(chǎn)生時鐘      if(count>5000)   {     if(hlbz)            {       if(seth_mi==0){seth_mi=seth;hlbz=0;out=0;}    else seth_mi--;       }     if(!hlbz)            {       if(setl_mi==0){setl_mi=setl;hlbz=1;out=1;}    else setl_mi--;       }   count=0;   }      else count++;         } ///////////// ///////延時/////// delay(int i) {    while(--i);          }     ///////顯示處理/////// xianshi() {      int   abcd=0;     int i;     for (i=0;i<5;i++) {   abcd=xianzhi;  gwei=1;  swei=1;  bwei=1;  qwei=1;  P1=dispcode[abcd/1000];   qwei=0;  delay(70);   qwei=1;  abcd=abcd%1000;  P1=dispcode[abcd/100];  bwei=0;  delay(70);  bwei=1;   abcd=abcd%100;  P1=dispcode[abcd/10];  swei=0;  delay(70);  swei=1;  abcd=abcd%10;  P1=dispcode[abcd];  gwei=0;  delay(70);  gwei=1;  } }   doing()   {     if(xianzhi>100)     {bjled=0;speak=1;zcled=1;}  else {bjled=1;speak=0;zcled=0;}   }   void main(void)  {  seth=60;//h60秒  setl=90;//l90秒  seth_mi=60;//h60秒  setl_mi=90;//l90秒  TMOD=0X01;//定時0 16位工作模式   TH0=(65536-200)/256;   TL0=(65536-200)%256;    TR0=1; //開始計時  ET0=1;   //開定時0中斷  EA=1;    //開全中斷  while(1)  {      ST=0;    _nop_();     ST=1;    _nop_();     ST=0;  //   EOC=0;          xianshi();       while(!EOC)   {         xianshi();    }        xianzhi=P2;             xianshi();     doing();  }  }

    標簽: sht 11 溫濕度傳感器 仿真程序

    上傳時間: 2013-11-07

    上傳用戶:我們的船長

  • Create a 1-Wire Master with Xilinx PicoBlaze

    Abstract: Designers who must interface 1-Wire temperature sensors with Xilinx field-programmable gate arrays(FPGAs) can use this reference design to drive a DS28EA00 1-Wire slave device. The downloadable softwarementioned in this document can also be used as a starting point to connect other 1-Wire slave devices. The systemimplements a 1-Wire master connected to a UART and outputs temperature to a PC from the DS28EA00 temperaturesensor. In addition, high/low alarm outputs are displayed from the DS28EA00 PIO pins using LEDs.

    標簽: PicoBlaze Create Master Xilinx

    上傳時間: 2013-11-12

    上傳用戶:大三三

  • 8259 VHDL代碼

    a8259 可編程中斷控制 altera提供 The a8259 is designed to simplify the implementation of the interrupt interface  in 8088 and 8086  based microcomputer systems. The device is known as a programmable interrupt controller.  The a8259 receives and prioritizes up to 8 interrupts,  and in the cascade mode, this can be expanded up to  64 interrupts. An asynchronous reset and a clock input have been added to improve operation and reliability.

    標簽: 8259 VHDL 代碼

    上傳時間: 2015-01-02

    上傳用戶:panpanpan

  • 20 Pins JTAG 定義

    JTAG口的定義

    標簽: Pins JTAG 20 定義

    上傳時間: 2013-11-06

    上傳用戶:徐孺

  • SL811開發(fā)資料_包含源程序_電路圖_芯片資料

    SL811開發(fā)資料_包含源程序_電路圖_芯片資料:SL811HS Embedded USB Host/Slave Controller.The SL811HS is an Embedded USB Host/Slave Controller capable of communicate with either full-speed or low-speed USB peripherals. The SL811HS can interface to devices such as microprocessors, microcontrollers, DSPs, or directly to a variety of buses such as ISA, PCMCIA, and others. The SL811HS USB Host Controller conforms to USB Specification 1.1.The SL811HS USB Host/Slave Controller incorporates USB Serial Interface functionality along with internal full-/low-speed transceivers.The SL811HS supports and operates in USB full-speed mode at 12 Mbps, or at low-speed 1.5-Mbps mode.The SL811HS data port and microprocessor interface provide an 8-bit data path I/O or DMA bidirectional, with interrupt support to allow easy interface to standard microprocessors or microcontrollers such as Motorola or Intel CPUs and many others. Internally,the SL811HS contains a 256-byte RAM data buffer which is used for control registers and data buffer.The available package types offered are a 28-pin PLCC (SL811HS) and a 48-pin TQFP package (SL811HST-AC). Both packages operate at 3.3 VDC. The I/O interface logic is 5V-tolerant.

    標簽: 811 SL 開發(fā)資料 源程序

    上傳時間: 2013-12-22

    上傳用戶:a82531317

  • 溫濕度傳感器 sht11 仿真程序下載

    溫濕度傳感器 sht11 仿真程序 sbit out =P3^0; //加熱口  //sbit input =P1^1;//檢測口  //sbit speek =P2^0;//報警  sbit clo =P3^7;//時鐘  sbit ST =P3^5;//開始  sbit EOC =P3^6;//成功信號  sbit gwei =P3^4;//個位  sbit swei =P3^3;//十位 sbit bwei =P3^2;//百位 sbit qwei =P3^1;//千位 sbit speak =P0^0;//報警音 sbit bjled =P0^1;//報警燈 sbit zcled =P0^2;//正常LED  int count;  uchar xianzhi;//取轉(zhuǎn)換結(jié)果 uchar seth;//高時間 uchar setl;//低時間 uchar seth_mi;//高時間 uchar setl_mi;//低時間  bit  hlbz;//高低標志  bit  clbz;  bit  spbz;       ///定時中斷程序/// void t0 (void) interrupt 1 using 0 {     TH0=(65536-200)/256;//5ms*200=1000ms=1s   TL0=(65536-200)%256;  clo=!clo;//產(chǎn)生時鐘      if(count>5000)   {     if(hlbz)            {       if(seth_mi==0){seth_mi=seth;hlbz=0;out=0;}    else seth_mi--;       }     if(!hlbz)            {       if(setl_mi==0){setl_mi=setl;hlbz=1;out=1;}    else setl_mi--;       }   count=0;   }      else count++;         } ///////////// ///////延時/////// delay(int i) {    while(--i);          }     ///////顯示處理/////// xianshi() {      int   abcd=0;     int i;     for (i=0;i<5;i++) {   abcd=xianzhi;  gwei=1;  swei=1;  bwei=1;  qwei=1;  P1=dispcode[abcd/1000];   qwei=0;  delay(70);   qwei=1;  abcd=abcd%1000;  P1=dispcode[abcd/100];  bwei=0;  delay(70);  bwei=1;   abcd=abcd%100;  P1=dispcode[abcd/10];  swei=0;  delay(70);  swei=1;  abcd=abcd%10;  P1=dispcode[abcd];  gwei=0;  delay(70);  gwei=1;  } }   doing()   {     if(xianzhi>100)     {bjled=0;speak=1;zcled=1;}  else {bjled=1;speak=0;zcled=0;}   }   void main(void)  {  seth=60;//h60秒  setl=90;//l90秒  seth_mi=60;//h60秒  setl_mi=90;//l90秒  TMOD=0X01;//定時0 16位工作模式   TH0=(65536-200)/256;   TL0=(65536-200)%256;    TR0=1; //開始計時  ET0=1;   //開定時0中斷  EA=1;    //開全中斷  while(1)  {      ST=0;    _nop_();     ST=1;    _nop_();     ST=0;  //   EOC=0;          xianshi();       while(!EOC)   {         xianshi();    }        xianzhi=P2;             xianshi();     doing();  }  }

    標簽: sht 11 溫濕度傳感器 仿真程序

    上傳時間: 2013-10-16

    上傳用戶:黃蛋的蛋黃

  • 這是PC機間相互通信的例子

    這是PC機間相互通信的例子,程序“require”為用查詢方式實現(xiàn),程序“interrupt”為用中斷方式實現(xiàn)

    標簽: PC機 互通

    上傳時間: 2013-12-19

    上傳用戶:Pzj

  • 匯編作業(yè):sound

    匯編作業(yè):sound,hentobia,interrupt, countnumber,count_numberandtel

    標簽: sound 匯編

    上傳時間: 2013-11-25

    上傳用戶:1101055045

  • 這是PC機間相互通信的例子

    這是PC機間相互通信的例子,程序“require”為用查詢方式實現(xiàn),程序“interrupt”為 用中斷方式實現(xiàn)

    標簽: PC機 互通

    上傳時間: 2015-03-28

    上傳用戶:yyq123456789

  • REMOVE removes a TSR. It takes two command line arguments. The first is the name of TSR to be remove

    REMOVE removes a TSR. It takes two command line arguments. The first is the name of TSR to be removed (or an * to remove the last one), and the second is a file name which MUST contain the interrupt vectors to be loaded when the TSR is removed.

    標簽: TSR arguments removes command

    上傳時間: 2013-12-09

    上傳用戶:wys0120

主站蜘蛛池模板: 蓝田县| 甘德县| 灵台县| 邵阳市| 大同市| 沾化县| 柘城县| 锡林浩特市| 惠安县| 双峰县| 洛阳市| 鄢陵县| 灌阳县| 大石桥市| 根河市| 铜川市| 盘山县| 札达县| 兴化市| 门源| 育儿| 松溪县| 江都市| 淮安市| 凤山县| 宁国市| 龙门县| 永泰县| 海门市| 谢通门县| 蓝山县| 凤凰县| 新竹县| 理塘县| 山东| 鹿邑县| 四川省| 桃园市| 阿城市| 万年县| 石泉县|