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

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

封裝好<b>zlib</b>算法

  • 80C51特殊功能寄存器地址表

    /*--------- 8051內核特殊功能寄存器 -------------*/ sfr ACC = 0xE0;             //累加器 sfr B = 0xF0;  //B 寄存器 sfr PSW    = 0xD0;           //程序狀態字寄存器 sbit CY    = PSW^7;       //進位標志位 sbit AC    = PSW^6;        //輔助進位標志位 sbit F0    = PSW^5;        //用戶標志位0 sbit RS1   = PSW^4;        //工作寄存器組選擇控制位 sbit RS0   = PSW^3;        //工作寄存器組選擇控制位 sbit OV    = PSW^2;        //溢出標志位 sbit F1    = PSW^1;        //用戶標志位1 sbit P     = PSW^0;        //奇偶標志位 sfr SP    = 0x81;            //堆棧指針寄存器 sfr DPL  = 0x82;            //數據指針0低字節 sfr DPH  = 0x83;            //數據指針0高字節 /*------------ 系統管理特殊功能寄存器 -------------*/ sfr PCON  = 0x87;           //電源控制寄存器 sfr AUXR = 0x8E;              //輔助寄存器 sfr AUXR1 = 0xA2;             //輔助寄存器1 sfr WAKE_CLKO = 0x8F;        //時鐘輸出和喚醒控制寄存器 sfr CLK_DIV  = 0x97;          //時鐘分頻控制寄存器 sfr BUS_SPEED = 0xA1;        //總線速度控制寄存器 /*----------- 中斷控制特殊功能寄存器 --------------*/ sfr IE     = 0xA8;           //中斷允許寄存器 sbit EA    = IE^7;  //總中斷允許位  sbit ELVD  = IE^6;           //低電壓檢測中斷控制位 8051

    標簽: 80C51 特殊功能寄存器 地址

    上傳時間: 2013-10-30

    上傳用戶:yxgi5

  • TLC2543 中文資料

    TLC2543是TI公司的12位串行模數轉換器,使用開關電容逐次逼近技術完成A/D轉換過程。由于是串行輸入結構,能夠節省51系列單片機I/O資源;且價格適中,分辨率較高,因此在儀器儀表中有較為廣泛的應用。 TLC2543的特點 (1)12位分辯率A/D轉換器; (2)在工作溫度范圍內10μs轉換時間; (3)11個模擬輸入通道; (4)3路內置自測試方式; (5)采樣率為66kbps; (6)線性誤差±1LSBmax; (7)有轉換結束輸出EOC; (8)具有單、雙極性輸出; (9)可編程的MSB或LSB前導; (10)可編程輸出數據長度。 TLC2543的引腳排列及說明    TLC2543有兩種封裝形式:DB、DW或N封裝以及FN封裝,這兩種封裝的引腳排列如圖1,引腳說明見表1 TLC2543電路圖和程序欣賞 #include<reg52.h> #include<intrins.h> #define uchar unsigned char #define uint unsigned int sbit clock=P1^0; sbit d_in=P1^1; sbit d_out=P1^2; sbit _cs=P1^3; uchar a1,b1,c1,d1; float sum,sum1; double  sum_final1; double  sum_final; uchar duan[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f}; uchar wei[]={0xf7,0xfb,0xfd,0xfe};  void delay(unsigned char b)   //50us {           unsigned char a;           for(;b>0;b--)                     for(a=22;a>0;a--); }  void display(uchar a,uchar b,uchar c,uchar d) {    P0=duan[a]|0x80;    P2=wei[0];    delay(5);    P2=0xff;    P0=duan[b];    P2=wei[1];    delay(5);   P2=0xff;   P0=duan[c];   P2=wei[2];   delay(5);   P2=0xff;   P0=duan[d];   P2=wei[3];   delay(5);   P2=0xff;   } uint read(uchar port) {   uchar  i,al=0,ah=0;   unsigned long ad;   clock=0;   _cs=0;   port<<=4;   for(i=0;i<4;i++)  {    d_in=port&0x80;    clock=1;    clock=0;    port<<=1;  }   d_in=0;   for(i=0;i<8;i++)  {    clock=1;    clock=0;  }   _cs=1;   delay(5);   _cs=0;   for(i=0;i<4;i++)  {    clock=1;    ah<<=1;    if(d_out)ah|=0x01;    clock=0; }   for(i=0;i<8;i++)  {    clock=1;    al<<=1;    if(d_out) al|=0x01;    clock=0;  }   _cs=1;   ad=(uint)ah;   ad<<=8;   ad|=al;   return(ad); }  void main()  {   uchar j;   sum=0;sum1=0;   sum_final=0;   sum_final1=0;    while(1)  {              for(j=0;j<128;j++)          {             sum1+=read(1);             display(a1,b1,c1,d1);           }            sum=sum1/128;            sum1=0;            sum_final1=(sum/4095)*5;            sum_final=sum_final1*1000;            a1=(int)sum_final/1000;            b1=(int)sum_final%1000/100;            c1=(int)sum_final%1000%100/10;            d1=(int)sum_final%10;            display(a1,b1,c1,d1);           }         } 

    標簽: 2543 TLC

    上傳時間: 2013-11-19

    上傳用戶:shen1230

  • AVR單片機數碼管秒表顯示

    #include<iom16v.h> #include<macros.h> #define uint unsigned int #define uchar unsigned char uint a,b,c,d=0; void delay(c) { for for(a=0;a<c;a++) for(b=0;b<12;b++); }; uchar tab[]={ 0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,

    標簽: AVR 單片機 數碼管

    上傳時間: 2013-10-21

    上傳用戶:13788529953

  • 題目:利用條件運算符的嵌套來完成此題:學習成績>=90分的同學用A表示

    題目:利用條件運算符的嵌套來完成此題:學習成績>=90分的同學用A表示,60-89分之間的用B表示,60分以下的用C表示。 1.程序分析:(a>b)?a:b這是條件運算符的基本例子。

    標簽: gt 90 運算符 嵌套

    上傳時間: 2015-01-08

    上傳用戶:lifangyuan12

  • 數字運算

    數字運算,判斷一個數是否接近素數 A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value. Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise. Sample Input 10 111 2 110 10 123 6 1000 8 2314 0 Sample Output yes yes no yes no

    標簽: 數字 運算

    上傳時間: 2015-05-21

    上傳用戶:daguda

  • The government of a small but important country has decided that the alphabet needs to be streamline

    The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first character in the decree specifies whether a must come ( B )Before b in the new alphabet or ( A )After b . The second character determines the relative placement of b and c , etc. So, for example, "BAA" means that a must come Before b , b must come After c , and c must come After d . Any letters beyond these requirements are to be excluded, so if the decree specifies k comparisons then the new alphabet will contain the first k+1 lowercase letters of the current alphabet. Create a class Alphabet that contains the method choices that takes the decree as input and returns the number of possible new alphabets that conform to the decree. If more than 1,000,000,000 are possible, return -1. Definition

    標簽: government streamline important alphabet

    上傳時間: 2015-06-09

    上傳用戶:weixiao99

  • 電力系統在臺穩定計算式電力系統不正常運行方式的一種計算。它的任務是已知電力系統某一正常運行狀態和受到某種擾動

    電力系統在臺穩定計算式電力系統不正常運行方式的一種計算。它的任務是已知電力系統某一正常運行狀態和受到某種擾動,計算電力系統所有發電機能否同步運行 1運行說明: 請輸入初始功率S0,形如a+bi 請輸入無限大系統母線電壓V0 請輸入系統等值電抗矩陣B 矩陣B有以下元素組成的行矩陣 1正常運行時的系統直軸等值電抗Xd 2故障運行時的系統直軸等值電抗X d 3故障切除后的系統直軸等值電抗 請輸入慣性時間常數Tj 請輸入時段數N 請輸入哪個時段發生故障Ni 請輸入每時段間隔的時間dt

    標簽: 電力系統 計算 運行

    上傳時間: 2015-06-13

    上傳用戶:it男一枚

  • 上下文無關文法(Context-Free Grammar, CFG)是一個4元組G=(V, T, S, P)

    上下文無關文法(Context-Free Grammar, CFG)是一個4元組G=(V, T, S, P),其中,V和T是不相交的有限集,S∈V,P是一組有限的產生式規則集,形如A→α,其中A∈V,且α∈(V∪T)*。V的元素稱為非終結符,T的元素稱為終結符,S是一個特殊的非終結符,稱為文法開始符。 設G=(V, T, S, P)是一個CFG,則G產生的語言是所有可由G產生的字符串組成的集合,即L(G)={x∈T* | Sx}。一個語言L是上下文無關語言(Context-Free Language, CFL),當且僅當存在一個CFG G,使得L=L(G)。 *⇒ 例如,設文法G:S→AB A→aA|a B→bB|b 則L(G)={a^nb^m | n,m>=1} 其中非終結符都是大寫字母,開始符都是S,終結符都是小寫字母。

    標簽: Context-Free Grammar CFG

    上傳時間: 2013-12-10

    上傳用戶:gaojiao1999

  • 一:需求分析 1. 問題描述 魔王總是使用自己的一種非常精練而抽象的語言講話,沒人能聽懂,但他的語言是可逐步解釋成人能聽懂的語言,因為他的語言是由以下兩種形式的規則由人的語言逐步抽象上去的: -

    一:需求分析 1. 問題描述 魔王總是使用自己的一種非常精練而抽象的語言講話,沒人能聽懂,但他的語言是可逐步解釋成人能聽懂的語言,因為他的語言是由以下兩種形式的規則由人的語言逐步抽象上去的: ----------------------------------------------------------- (1) a---> (B1)(B2)....(Bm) (2)[(op1)(p2)...(pn)]---->[o(pn)][o(p(n-1))].....[o(p1)o] ----------------------------------------------------------- 在這兩種形式中,從左到右均表示解釋.試寫一個魔王語言的解釋系統,把 他的話解釋成人能聽得懂的話. 2. 基本要求: 用下述兩條具體規則和上述規則形式(2)實現.設大寫字母表示魔王語言的詞匯 小寫字母表示人的語言的詞匯 希臘字母表示可以用大寫字母或小寫字母代換的變量.魔王語言可含人的詞匯. (1) B --> tAdA (2) A --> sae 3. 測試數據: B(ehnxgz)B 解釋成 tsaedsaeezegexenehetsaedsae若將小寫字母與漢字建立下表所示的對應關系,則魔王說的話是:"天上一只鵝地上一只鵝鵝追鵝趕鵝下鵝蛋鵝恨鵝天上一只鵝地上一只鵝". | t | d | s | a | e | z | g | x | n | h | | 天 | 地 | 上 | 一只| 鵝 | 追 | 趕 | 下 | 蛋 | 恨 |

    標簽: 語言 抽象

    上傳時間: 2014-12-02

    上傳用戶:jkhjkh1982

  • We have a group of N items (represented by integers from 1 to N), and we know that there is some tot

    We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.

    標簽: represented integers group items

    上傳時間: 2016-01-17

    上傳用戶:jeffery

亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美视频在线观看视频| 极品av少妇一区二区| 国产精品视频精品| 香蕉久久一区二区不卡无毒影院| 国产精品男gay被猛男狂揉视频| 亚洲图片欧洲图片av| 国产一区二区三区黄视频| 久久精品系列| 亚洲一级影院| 亚洲人成人一区二区三区| 国产精品久久久久久久久久久久久久 | 久久久久久久国产| 尹人成人综合网| 欧美日韩国产综合新一区| 亚洲一区中文字幕在线观看| 国精品一区二区三区| 国产精品久久9| 久久九九久精品国产免费直播 | 欧美精品v国产精品v日韩精品| 亚洲美女电影在线| 亚洲大黄网站| 亚洲国产精品成人综合色在线婷婷| 国产精品国产三级国产专播品爱网 | 国产伦精品一区| 亚洲成人资源网| 亚洲一区在线免费观看| 欧美精品一区二区三区视频 | 欧美日韩一区二区三区视频| 久久综合伊人77777麻豆| 国产精品一区毛片| 欧美日韩免费一区二区三区视频| 你懂的国产精品| 欧美国产大片| 欧美日韩国产三区| 国产精品一区免费在线观看| 国产欧美一级| 亚洲国产日韩欧美在线动漫| 亚洲婷婷免费| 免费国产自线拍一欧美视频| 欧美日韩免费一区二区三区视频| 欧美日韩三区| 狠狠色伊人亚洲综合成人| 亚洲成色www8888| 亚洲一区精品视频| 欧美69视频| 亚洲理伦电影| 亚洲区在线播放| 国产美女在线精品免费观看| 一区二区三区日韩在线观看| 国产一区二区三区在线免费观看| 亚洲在线观看视频网站| 欧美新色视频| 亚洲先锋成人| 国外精品视频| 国产精品日本精品| 欧美午夜片欧美片在线观看| 亚洲精选一区| 国产精品免费网站| 久久综合色88| 国产精品欧美风情| 亚洲精品一区二区三| 久久成人免费网| 国产欧美一区二区白浆黑人| 99国产精品| 欧美精选一区| 亚洲免费观看视频| 欧美日韩精品三区| 日韩一级裸体免费视频| 欧美成人中文字幕在线| 亚洲成人在线网站| 久久久久国内| 亚洲七七久久综合桃花剧情介绍| 久久精品成人欧美大片古装| 国产日韩一区| 老司机aⅴ在线精品导航| 极品少妇一区二区三区精品视频| 久久久福利视频| 亚洲精品一区二区三区福利| 欧美欧美在线| 欧美一区二区三区免费视频| 激情五月***国产精品| 欧美www在线| 午夜视频一区二区| 亚洲二区三区四区| 欧美日韩国产天堂| 欧美在线播放一区| 亚洲黑丝一区二区| 国产精品夜夜夜| 欧美激情按摩在线| 久久国产精品久久精品国产| 亚洲第一精品在线| 国产精品久久久久婷婷| 欧美一区二区日韩| 一区二区三区导航| 激情欧美日韩一区| 国产精品一级二级三级| 男同欧美伦乱| 久久精品二区三区| 亚洲欧美国产精品专区久久| 亚洲黄网站黄| 亚洲国产1区| 亚洲国产成人在线| 亚洲第一天堂av| 在线观看视频免费一区二区三区| 国产精品久久久久久久久搜平片 | 亚洲午夜视频在线| 国产一区二区视频在线观看| 国语自产精品视频在线看8查询8| 在线观看日韩专区| 亚洲一区二区在| 欧美风情在线| 欧美激情一区二区三区蜜桃视频| 国产精品视频精品| 亚洲第一视频| 欧美一区二区三区久久精品茉莉花| 国产私拍一区| 欧美激情一区二区| 久久精品二区三区| aa级大片欧美三级| 亚洲久久视频| 在线精品视频在线观看高清| 国产精品久久国产精麻豆99网站| 久久综合九色| 欧美在线观看一区二区| 亚洲欧美激情精品一区二区| 亚洲国产欧美国产综合一区| 一区二区三区中文在线观看| 国产日韩成人精品| 国产欧美一区在线| 国产中文一区二区三区| 黑人中文字幕一区二区三区| 国产亚洲永久域名| 国产一区二区三区不卡在线观看| 国产精品va在线播放| 欧美美女操人视频| 欧美日本三区| 欧美日韩国产片| 国产精品都在这里| 欧美理论电影网| 国产精品爱久久久久久久| 欧美精品一区三区| 久久久国产一区二区| 国产欧美日韩伦理| 欧美一级久久| 嫩草影视亚洲| 欧美丝袜一区二区| 99精品国产热久久91蜜凸| 国产乱肥老妇国产一区二| 欧美日韩人人澡狠狠躁视频| 国语自产精品视频在线看8查询8 | 亚洲高清资源| 欧美高清视频一区二区| 日韩一级黄色av| 国产精品www.| 久久精品亚洲一区二区| 老司机免费视频一区二区| 欧美日韩妖精视频| 国产日韩欧美在线播放不卡| 亚洲国产一成人久久精品| 99精品视频一区| 久久一综合视频| 久久精品国产视频| 国产欧美日韩精品丝袜高跟鞋| 91久久久亚洲精品| 亚洲欧美日韩在线| 欧美视频精品在线| 亚洲网站在线| 国产精品一区二区三区四区 | 欧美永久精品| 欧美激情一区二区三区全黄| 国内精品视频久久| 欧美一区二区三区免费大片| 欧美日韩一区二区在线观看视频| 国内伊人久久久久久网站视频| 久久av在线| 国产精品久久看| 99国产欧美久久久精品| 精品999成人| 欧美精品大片| 亚洲在线一区| 亚洲国产日日夜夜| 一区二区三区无毛| 久久久久久九九九九| 国产无一区二区| 欧美一区二区精品久久911| 亚洲午夜羞羞片| 国产精品乱码妇女bbbb| 午夜精品在线看| 狠狠色综合网| 在线国产精品播放| 亚洲欧美中文字幕| 欧美大片在线影院| 99re国产精品| 在线观看精品视频| 国产日本亚洲高清| 国产精品www色诱视频| 欧美久久精品午夜青青大伊人| 欧美在线播放| 亚洲免费视频中文字幕| 99在线热播精品免费|