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

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

Read-Write

  • DS1820 C51 子程序 (一線數(shù)據(jù)傳輸)

    //芯片資料請到www.elecfans.com查找 //DS1820 C51 子程序//這里以11.0592M晶體為例,不同的晶體速度可能需要調(diào)整延時(shí)的時(shí)間//sbit DQ =P2^1;//根據(jù)實(shí)際情況定義端口 typedef unsigned char byte;typedef unsigned int  word; //延時(shí)void delay(word useconds){  for(;useconds>0;useconds--);} //復(fù)位byte ow_reset(void){  byte presence;  DQ = 0; //pull DQ line low  delay(29); // leave it low for 480us  DQ = 1; // allow line to return high  delay(3); // wait for presence  presence = DQ; // get presence signal  delay(25); // wait for end of timeslot  return(presence); // presence signal returned}     // 0=presence, 1 = no part //從 1-wire 總線上讀取一個(gè)字節(jié)byte read_byte(void){  byte i;  byte value = 0;  for (i=8;i>0;i--)  {    value>>=1;    DQ = 0; // pull DQ low to start timeslot    DQ = 1; // then return high    delay(1);  //for (i=0; i<3; i++);     if(DQ)value|=0x80;    delay(6); // wait for rest of timeslot  }  return(value);} //向 1-WIRE 總線上寫一個(gè)字節(jié)void write_byte(char val){  byte i;  for (i=8; i>0; i--) // writes byte, one bit at a time  {    DQ = 0; // pull DQ low to start timeslot    DQ = val&0x01;    delay(5); // hold value for remainder of timeslot    DQ = 1;    val=val/2;  }  delay(5);} //讀取溫度char Read_Temperature(void){  union{    byte c[2];    int x;  }temp;   ow_reset();  write_byte(0xCC); // Skip ROM  write_byte(0xBE); // Read Scratch Pad  temp.c[1]=read_byte();  temp.c[0]=read_byte();  ow_reset();  write_byte(0xCC); //Skip ROM  write_byte(0x44); // Start Conversion  return temp.x/2;}

    標(biāo)簽: 1820 C51 DS 程序

    上傳時(shí)間: 2013-11-03

    上傳用戶:hongmo

  • winCE msdn講座

    winCE msdn講座 XP Embedded Now and the future Windows XP Embedded Developmentand Deployment Model OverviewWindows XP Embedded Component ModelWindows XP Embedded Studio Tools Microsoft WindowsXP Embedded Product Highlights Componentized version of Windows XP Professional~ 12,000 components and updates as of Service Pack 2Flexible localizationSame binaries and API as Windows XP ProfessionalHotfixes and service packsEmbedded Enabling FeaturesRuns on standard PC hardwareSupports boot on hard drives, compact flash, DiskOnChipand read-only mediaSupport for remote install and remote bootHeadless device and remote management supportIntegration with Microsoft management tools

    標(biāo)簽: winCE msdn 講座

    上傳時(shí)間: 2013-10-31

    上傳用戶:jrsoft

  • at89c52 pdf

    The AT89C52 is a low-power, high-performance CMOS 8-bit microcomputer with 8Kbytes of Flash programmable and erasable read only memory (PEROM). The deviceis manufactured using Atmel’s high-density nonvolatile memory technology and iscompatible with the industry-standard 80C51 and 80C52 instruction set and pinout.The on-chip Flash allows the program memory to be reprogrammed in-system or by aconventional nonvolatile memory programmer. By combining a versatile 8-bit CPUwith Flash on a monolithic chip, the Atmel AT89C52 is a powerful microcomputerwhich provides a highly-flexible and cost-effective solution to many embedded controlapplications.

    標(biāo)簽: 89c c52 at

    上傳時(shí)間: 2013-11-10

    上傳用戶:1427796291

  • 存儲(chǔ)器技術(shù).doc

    存儲(chǔ)器技術(shù).doc 計(jì)算機(jī)的主存儲(chǔ)器(Main Memory),又稱為內(nèi)部存儲(chǔ)器,簡稱為內(nèi)存。內(nèi)存實(shí)質(zhì)上是一組或多組具備數(shù)據(jù)輸入輸出和數(shù)據(jù)存儲(chǔ)功能的集成電路。內(nèi)存的主要作用是用來存放計(jì)算機(jī)系統(tǒng)執(zhí)行時(shí)所需要的數(shù)據(jù),存放各種輸入、輸出數(shù)據(jù)和中間計(jì)算結(jié)果,以及與外部存儲(chǔ)器交換信息時(shí)作為緩沖用。由于CPU只能直接處理內(nèi)存中的數(shù)據(jù) ,所以內(nèi)存是計(jì)算機(jī)系統(tǒng)中不可缺少的部件。內(nèi)存的品質(zhì)直接關(guān)系到計(jì)算機(jī)系統(tǒng)的速度、穩(wěn)定性和兼容性。 4.1 存儲(chǔ)器類型計(jì)算機(jī)內(nèi)部存儲(chǔ)器有兩種類型,一種稱為只讀存儲(chǔ)器ROM(Read Only Memiry),另一種稱為隨機(jī)存儲(chǔ)器RAM(Random Access Memiry)。 4.1.1 只讀存儲(chǔ)器只讀存儲(chǔ)器ROM主要用于存放計(jì)算機(jī)固化的控制程序,如主板的BIOS程序、顯卡BIOS控制程序、硬盤控制程序等。ROM的典型特點(diǎn)是:一旦將數(shù)據(jù)寫入ROM中后,即使在斷電的情況下也能夠永久的保存數(shù)據(jù)。從使用上講,一般用戶能從ROM中讀取數(shù)據(jù),而不能改寫其中的數(shù)據(jù)。但現(xiàn)在為了做一日和尚撞一天鐘于軟件或硬件程序升級,普通用戶使用所謂的閃存(Flash Memiry)也可以有條件地改變ROM中的數(shù)據(jù)。有關(guān)只讀存儲(chǔ)器ROM的內(nèi)容將在第11章中介紹,本章主要介紹隨機(jī)存儲(chǔ)器。4.1.2 隨機(jī)存取存儲(chǔ)器隨機(jī)存取存儲(chǔ)器RAM的最大特點(diǎn)是計(jì)算機(jī)可以隨時(shí)改變RAM中的數(shù)據(jù),并且一旦斷電,TAM中數(shù)據(jù)就會(huì)立即丟失,也就是說,RAM中的數(shù)據(jù)在斷電后是不能保留的。從用于制造隨機(jī)存取存儲(chǔ)器的材料上看,RAM又可分為靜態(tài)隨機(jī)存儲(chǔ)器SRAM(Static RAM)和動(dòng)態(tài)隨機(jī)存儲(chǔ)器DRAM(Dymamic RAM)兩種。1. 動(dòng)態(tài)隨機(jī)存儲(chǔ)器在DRAM中數(shù)據(jù)是以電荷的形式存儲(chǔ)在電容上的,充電后電容上的電壓被認(rèn)為是邏輯上的“1”,而放電后的電容上的電壓被認(rèn)為是邏輯上的“0”認(rèn)。為了減少存儲(chǔ)器的引腳數(shù),就反存儲(chǔ)器芯片的每個(gè)基本單元按行、列矩陣形式連接起來,使每個(gè)存儲(chǔ)單元位于行、列的交叉點(diǎn)。這樣每個(gè)存儲(chǔ)單元的地址做一日和尚撞一天鐘可以用位數(shù)較少的行地址和列地址兩個(gè)部分表示,在對每個(gè)單元進(jìn)行讀寫操作時(shí),就可以采用分行、列尋址方式寫入或讀出相應(yīng)的數(shù)據(jù),如圖4-1所示。  由于電容充電后,電容會(huì)緩慢放電,電容 上的電荷會(huì)逐漸

    標(biāo)簽: 存儲(chǔ)器

    上傳時(shí)間: 2014-01-10

    上傳用戶:18752787361

  • XAPP740利用AXI互聯(lián)設(shè)計(jì)高性能視頻系統(tǒng)

    This application note covers the design considerations of a system using the performance features of the LogiCORE™ IP Advanced eXtensible Interface (AXI) Interconnect core. The design focuses on high system throughput through the AXI Interconnect core with F MAX  and area optimizations in certain portions of the design. The design uses five AXI video direct memory access (VDMA) engines to simultaneously move 10 streams (five transmit video streams and five receive video streams), each in 1920 x 1080p format, 60 Hz refresh rate, and up to 32 data bits per pixel. Each VDMA is driven from a video test pattern generator (TPG) with a video timing controller (VTC) block to set up the necessary video timing signals. Data read by each AXI VDMA is sent to a common on-screen display (OSD) core capable of multiplexing or overlaying multiple video streams to a single output video stream. The output of the OSD core drives the DVI video display interface on the board. Performance monitor blocks are added to capture performance data. All 10 video streams moved by the AXI VDMA blocks are buffered through a shared DDR3 SDRAM memory and are controlled by a MicroBlaze™ processor. The reference system is targeted for the Virtex-6 XC6VLX240TFF1156-1 FPGA on the Xilinx® ML605 Rev D evaluation board

    標(biāo)簽: XAPP 740 AXI 互聯(lián)

    上傳時(shí)間: 2013-11-14

    上傳用戶:fdmpy

  • USB接口控制器參考設(shè)計(jì),xilinx提供VHDL代碼 us

    USB接口控制器參考設(shè)計(jì),xilinx提供VHDL代碼 usb xilinx vhdl ;  This program is free software; you can redistribute it and/or modify ;  it under the terms of the GNU General Public License as published by ;  the Free Software Foundation; either version 2 of the License, or ;  (at your option) any later version. ;      ;  This program is distributed in the hope that it will be useful, ;  but WITHOUT ANY WARRANTY; without even the implied warranty of ;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the ;  GNU General Public License for more details. ;      ;  You should have received a copy of the GNU General Public License ;  along with this program; if not, write to the Free Software ;  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

    標(biāo)簽: xilinx VHDL USB us

    上傳時(shí)間: 2013-10-12

    上傳用戶:windgate

  • 三菱FX系列PLC與計(jì)算機(jī)無協(xié)議通訊

    本文主要通過介紹PLC通訊的意義和三菱FX系列PLC的四種通訊方式,并重點(diǎn)介紹FX系列PLC與計(jì)算機(jī)無協(xié)議通訊,主要從無協(xié)議通訊的硬件、配線、數(shù)據(jù)寄存器設(shè)置、PLC與計(jì)算機(jī)無協(xié)議通訊的指令用法、PLC程序編寫和計(jì)算機(jī)VB程序的編寫來說明無協(xié)議通訊的過程和一般方法。 My dissertation introduces the significance of PLC communications and the four means of communication of Mitsubishi FX’s PLC, And highlights the no protocol communications of FX series PLC and computer, no protocol communications hardware, wiring, Register data set, and the usage of command about no protocol communications, How to write PLC program and computer VB program to illustrate the process of no protocol communications and general method.

    標(biāo)簽: PLC 三菱FX系列 計(jì)算機(jī) 協(xié)議

    上傳時(shí)間: 2014-11-29

    上傳用戶:Jerry_Chow

  • UHF讀寫器設(shè)計(jì)中的FM0解碼技術(shù)

       針對UHF讀寫器設(shè)計(jì)中,在符合EPC Gen2標(biāo)準(zhǔn)的情況下,對標(biāo)簽返回的高速數(shù)據(jù)進(jìn)行正確解碼以達(dá)到正確讀取標(biāo)簽的要求,提出了一種新的在ARM平臺(tái)下采用邊沿捕獲統(tǒng)計(jì)定時(shí)器數(shù)判斷數(shù)據(jù)的方法,并對FM0編碼進(jìn)行解碼。與傳統(tǒng)的使用定時(shí)器定時(shí)采樣高低電平的FM0解碼方法相比,該解碼方法可以減少定時(shí)器定時(shí)誤差累積的影響;可以將捕獲定時(shí)器數(shù)中斷與數(shù)據(jù)判斷解碼相對分隔開,使得中斷對解碼影響很小,實(shí)現(xiàn)捕獲與解碼的同步。通過實(shí)驗(yàn)表明,這種方法提高了解碼的效率,在160 Kb/s的接收速度下,讀取一張標(biāo)簽的時(shí)間約為30次/s。 Abstract:  Aiming at the requirement of receiving correctly decoded data from the tag under high-speed communication which complied with EPC Gen2 standard in the design of UHF interrogator, the article introduced a new technology for FM0 decoding which counted the timer counter to judge data by using the edge interval of signal capture based on the ARM7 platform. Compared with the traditional FM0 decoding method which used the timer timed to sample the high and low level, the method could reduce the accumulation of timing error and could relatively separate capture timer interrupt and the data judgment for decoding, so that the disruption effect on the decoding was small and realizd synchronization of capture and decoding. Testing result shows that the method improves the efficiency of decoding, at 160 Kb/s receiving speed, the time of the interrogator to read a tag is about 30 times/s.

    標(biāo)簽: UHF FM0 讀寫器 解碼技術(shù)

    上傳時(shí)間: 2013-11-10

    上傳用戶:liufei

  • XAPP740利用AXI互聯(lián)設(shè)計(jì)高性能視頻系統(tǒng)

    This application note covers the design considerations of a system using the performance features of the LogiCORE™ IP Advanced eXtensible Interface (AXI) Interconnect core. The design focuses on high system throughput through the AXI Interconnect core with F MAX  and area optimizations in certain portions of the design. The design uses five AXI video direct memory access (VDMA) engines to simultaneously move 10 streams (five transmit video streams and five receive video streams), each in 1920 x 1080p format, 60 Hz refresh rate, and up to 32 data bits per pixel. Each VDMA is driven from a video test pattern generator (TPG) with a video timing controller (VTC) block to set up the necessary video timing signals. Data read by each AXI VDMA is sent to a common on-screen display (OSD) core capable of multiplexing or overlaying multiple video streams to a single output video stream. The output of the OSD core drives the DVI video display interface on the board. Performance monitor blocks are added to capture performance data. All 10 video streams moved by the AXI VDMA blocks are buffered through a shared DDR3 SDRAM memory and are controlled by a MicroBlaze™ processor. The reference system is targeted for the Virtex-6 XC6VLX240TFF1156-1 FPGA on the Xilinx® ML605 Rev D evaluation board

    標(biāo)簽: XAPP 740 AXI 互聯(lián)

    上傳時(shí)間: 2013-11-23

    上傳用戶:shen_dafa

  • USB接口控制器參考設(shè)計(jì),xilinx提供VHDL代碼 us

    USB接口控制器參考設(shè)計(jì),xilinx提供VHDL代碼 usb xilinx vhdl ;  This program is free software; you can redistribute it and/or modify ;  it under the terms of the GNU General Public License as published by ;  the Free Software Foundation; either version 2 of the License, or ;  (at your option) any later version. ;      ;  This program is distributed in the hope that it will be useful, ;  but WITHOUT ANY WARRANTY; without even the implied warranty of ;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the ;  GNU General Public License for more details. ;      ;  You should have received a copy of the GNU General Public License ;  along with this program; if not, write to the Free Software ;  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

    標(biāo)簽: xilinx VHDL USB us

    上傳時(shí)間: 2013-10-29

    上傳用戶:zhouchang199

主站蜘蛛池模板: 临西县| 喀喇沁旗| 云霄县| 从江县| 永寿县| 两当县| 徐汇区| 民乐县| 洪雅县| 鸡西市| 平谷区| 旌德县| 东阳市| 新丰县| 雅安市| 平舆县| 濮阳市| 舒城县| 溧水县| 合水县| 灵台县| 会昌县| 修水县| 万全县| 广南县| 吴江市| 漾濞| 武义县| 凤翔县| 黑河市| 宕昌县| 钦州市| 河西区| 齐河县| 大足县| 阜城县| 长宁县| 濮阳市| 栾川县| 逊克县| 瓦房店市|