/****************temic*********t5557***********************************/ #include <at892051.h> #include <string.h> #include <intrins.h> #include <stdio.h> #define uchar unsigned char #define uint unsigned int #define ulong unsigned long //STC12C2051AD的SFR定義 sfr WDT_CONTR = 0xe1;//stc2051的看門(mén)狗?????? /**********全局常量************/ //寫(xiě)卡的命令 #define write_command0 0//寫(xiě)密碼 #define write_command1 1//寫(xiě)配置字 #define write_command2 2//密碼寫(xiě)數(shù)據(jù) #define write_command3 3//喚醒 #define write_command4 4//停止命令 #define TRUE 1 #define FALSE 0 #define OK 0 #define ERROR 255 //讀卡的時(shí)間參數(shù)us #define ts_min 250//270*11.0592/12=249//取近似的整數(shù) #define ts_max 304//330*11.0592/12=304 #define t1_min 73//90*11.0592/12=83:-10調(diào)整 #define t1_max 156//180*11.0592/12=166 #define t2_min 184//210*11.0592/12=194 #define t2_max 267//300*11.0592/12=276 //***********不采用中斷處理:采用查詢(xún)的方法讀卡時(shí)關(guān)所有中斷****************/ sbit p_U2270B_Standby = P3^5;//p_U2270B_Standby PIN=13 sbit p_U2270B_CFE = P3^3;//p_U2270B_CFE PIN=6 sbit p_U2270B_OutPut = P3^7;//p_U2270B_OutPut PIN=2 sbit wtd_sck = P1^7;//SPI總線 sbit wtd_si = P1^3; sbit wtd_so = P1^2; sbit iic_data = P1^2;//lcd IIC sbit iic_clk = P1^7; sbit led_light = P1^6;//測(cè)試綠燈 sbit led_light1 = P1^5;//測(cè)試紅燈 sbit led_light_ok = P1^1;//讀卡成功標(biāo)志 sbit fengmingqi = P1^5; /***********全局變量************************************/ uchar data Nkey_a[4] = {0xA0, 0xA1, 0xA2, 0xA3};//初始密碼 //uchar idata card_snr[4]; //配置字 uchar data bankdata[28] = {1,2,3,4,5,6,7,1,2,3,4,5,6,7,1,2,3,4,5,6,7,1,2,3,4,5,6,7}; //存儲(chǔ)卡上用戶(hù)數(shù)據(jù)(1-7)7*4=28 uchar data cominceptbuff[6] = {1,2,3,4,5,6};//串口接收數(shù)組ram uchar command; //第一個(gè)命令 uchar command1;// //uint temp; uchar j,i; uchar myaddr = 8; //uchar ywqz_count,time_count; //ywqz jishu: uchar bdata DATA; sbit BIT0 = DATA^0; sbit BIT1 = DATA^1; sbit BIT2 = DATA^2; sbit BIT3 = DATA^3; sbit BIT4 = DATA^4; sbit BIT5 = DATA^5; sbit BIT6 = DATA^6; sbit BIT7 = DATA^7; uchar bdata DATA1; sbit BIT10 = DATA1^0; sbit BIT11 = DATA1^1; sbit BIT12 = DATA1^2; sbit BIT13 = DATA1^3; sbit BIT14 = DATA1^4; sbit BIT15 = DATA1^5; sbit BIT16 = DATA1^6; sbit BIT17 = DATA1^7; bit i_CurrentLevel;//i_CurrentLevel BIT 00H(Saves current level of OutPut pin of U2270B) bit timer1_end; bit read_ok = 0; //緩存定時(shí)值,因用同一個(gè)定時(shí)器 union HLint { uint W; struct { uchar H;uchar L; } B; };//union HLint idata a union HLint data a; //緩存定時(shí)值,因用同一個(gè)定時(shí)器 union HLint0 { uint W; struct { uchar H; uchar L; } B; };//union HLint idata a union HLint0 data b; /**********************函數(shù)原型*****************/ //讀寫(xiě)操作 void f_readcard(void);//全部讀出1~7 AOR喚醒 void f_writecard(uchar x);//根據(jù)命令寫(xiě)不同的內(nèi)容和操作 void f_clearpassword(void);//清除密碼 void f_changepassword(void);//修改密碼 //功能子函數(shù) void write_password(uchar data *data p);//寫(xiě)初始密碼或數(shù)據(jù) void write_block(uchar x,uchar data *data p);//不能用通用指針 void write_bit(bit x);//寫(xiě)位 /*子函數(shù)區(qū)*****************************************************/ void delay_2(uint x) //延時(shí),時(shí)間x*10us@12mhz,最小20us@12mhz { x--; x--; while(x) { _nop_(); _nop_(); x--; } _nop_();//WDT_CONTR=0X3C;不能頻繁的復(fù)位 _nop_(); } ///////////////////////////////////////////////////////////////////// void initial(void) { SCON = 0x50; //串口方式1,允許接收 //SCON =0x50; //01010000B:10位異步收發(fā),波特率可變,SM2=0不用接收到有效停止位才RI=1, //REN=1允許接收 TMOD = 0x21; //定時(shí)器1 定時(shí)方式2(8位),定時(shí)器0 定時(shí)方式1(16位) TCON = 0x40; //設(shè)定時(shí)器1 允許開(kāi)始計(jì)時(shí)(IT1=1) TH1 = 0xfD; //FB 18.432MHz 9600 波特率 TL1 = 0xfD; //fd 11.0592 9600 IE = 0X90; //EA=ES=1 TR1 = 1; //啟動(dòng)定時(shí)器 WDT_CONTR = 0x3c;//使能看門(mén)狗 p_U2270B_Standby = 0;//單電源 PCON = 0x00; IP = 0x10;//uart you xian XXXPS PT1 PX1 PT0 PX0 led_light1 = 1; led_light = 0; p_U2270B_OutPut = 1; } /************************************************/ void f_readcard()//讀卡 { EA = 0;//全關(guān),防止影響跳變的定時(shí)器計(jì)時(shí) WDT_CONTR = 0X3C;//喂狗 p_U2270B_CFE = 1;// delay_2(232); //>2.5ms /* // aor 用喚醒功能來(lái)防碰撞 p_U2270B_CFE = 0; delay_2(18);//start gap>150us write_bit(1);//10=操作碼讀0頁(yè) write_bit(0); write_password(&bankdata[24]);//密碼block7 p_U2270B_CFE =1 ;// delay_2(516);//編程及確認(rèn)時(shí)間5.6ms */ WDT_CONTR = 0X3C;//喂狗 led_light = 0; b.W = 0; while(!(read_ok == 1)) { //while(p_U2270B_OutPut);//等一個(gè)穩(wěn)定的低電平?超時(shí)判斷? while(!p_U2270B_OutPut);//等待上升沿的到來(lái)同步信號(hào)檢測(cè)1 TR0 = 1; //deng xia jiang while(p_U2270B_OutPut);//等待下降沿 TR0 = 0; a.B.H = TH0; a.B.L = TL0; TH0 = TL0 = 0; TR0 = 1;//定時(shí)器晚啟動(dòng)10個(gè)周期 //同步頭 if((324 < a.W) && (a.W < 353)) ;//檢測(cè)同步信號(hào)1 else { TR0 = 0; TH0 = TL0 = 0; goto read_error; } //等待上升沿 while(!p_U2270B_OutPut); TR0 = 0; a.B.H = TH0; a.B.L = TL0; TH0 = TL0 = 0; TR0 = 1;//b.N1<<=8; if(a.B.L < 195);//0.5p else { TR0 = 0; TH0 = TL0 = 0; goto read_error; } //讀0~7塊的數(shù)據(jù) for(j = 0;j < 28;j++) { //uchar i; for(i = 0;i < 16;i++)//8個(gè)位 { //等待下降沿的到來(lái) while(p_U2270B_OutPut); TR0 = 0; a.B.H = TH0; a.B.L = TL0; TH0 = TL0 = 0; TR0 = 1; if(t2_max < a.W/*)&&(a.W < t2_max)*/)//1P { b.W >>= 2;//先左移再賦值 b.B.L += 0xc0; i++; } else if(t1_min < a.B.L/*)&&(a.B.L < t1_max)*/)//0.5p { b.W >>= 1; b.B.L += 0x80; } else { TR0 = 0; TH0 = TL0 = 0; goto read_error; } i++; while(!p_U2270B_OutPut);//上升 TR0 = 0; a.B.H = TH0; a.B.L = TL0; TH0 = TL0 = 0; TR0 = 1; if(t2_min < a.W/*)&&(a.W < t2_max)*/)//1P { b.W >>= 2; i++; } else if(t1_min < a.B.L/*a.W)&&(a.B.L < t1_max)*/)//0.5P //else if(!(a.W==0)) { b.W >>= 1; //temp+=0x00; //led_light1=0;led_light=1;delay_2(40000); } else { TR0 = 0; TH0 = TL0 = 0; goto read_error; } i++; } //取出奇位 DATA = b.B.L; BIT13 = BIT7; BIT12 = BIT5; BIT11 = BIT3; BIT10 = BIT1; DATA = b.B.H; BIT17 = BIT7; BIT16 = BIT5; BIT15 = BIT3; BIT14 = BIT1; bankdata[j] = DATA1; } read_ok = 1;//讀卡完成了 read_error: _nop_(); } } /***************************************************/ void f_writecard(uchar x)//寫(xiě)卡 { p_U2270B_CFE = 1; delay_2(232); //>2.5ms //psw=0 standard write if (x == write_command0)//寫(xiě)密碼:初始化密碼 { uchar i; uchar data *data p; p = cominceptbuff; p_U2270B_CFE = 0; delay_2(31);//start gap>330us write_bit(1);//寫(xiě)操作碼1:10 write_bit(0);//寫(xiě)操作碼0 write_bit(0);//寫(xiě)鎖定位0 for(i = 0;i < 35;i++) { write_bit(1);//寫(xiě)數(shù)據(jù)位1 } p_U2270B_CFE = 1; led_light1 = 0; led_light = 1; delay_2(40000);//測(cè)試使用 //write_block(cominceptbuff[4],p); p_U2270B_CFE = 1; bankdata[20] = cominceptbuff[0];//密碼存入 bankdata[21] = cominceptbuff[1]; bankdata[22] = cominceptbuff[2]; bankdata[23] = cominceptbuff[3]; } else if (x == write_command1)//配置卡參數(shù):初始化 { uchar data *data p; p = cominceptbuff; write_bit(1);//寫(xiě)操作碼1:10 write_bit(0);//寫(xiě)操作碼0 write_bit(0);//寫(xiě)鎖定位0 write_block(cominceptbuff[4],p); p_U2270B_CFE= 1; } //psw=1 pssword mode else if(x == write_command2) //密碼寫(xiě)數(shù)據(jù) { uchar data*data p; p = &bankdata[24]; write_bit(1);//寫(xiě)操作碼1:10 write_bit(0);//寫(xiě)操作碼0 write_password(p);//發(fā)口令 write_bit(0);//寫(xiě)鎖定位0 p = cominceptbuff; write_block(cominceptbuff[4],p);//寫(xiě)數(shù)據(jù) } else if(x == write_command3)//aor //喚醒 { //cominceptbuff[1]操作碼10 X xxxxxB uchar data *data p; p = cominceptbuff; write_bit(1);//10 write_bit(0); write_password(p);//密碼 p_U2270B_CFE = 1;//此時(shí)數(shù)據(jù)不停的循環(huán)傳出 } else //停止操作碼 { write_bit(1);//11 write_bit(1); p_U2270B_CFE = 1; } p_U2270B_CFE = 1; delay_2(560);//5.6ms } /************************************/ void f_clearpassword()//清除密碼 { uchar data *data p; uchar i,x; p = &bankdata[24];//原密碼 p_U2270B_CFE = 0; delay_2(18);//start gap>150us //操作碼10:10xxxxxxB write_bit(1); write_bit(0); for(x = 0;x < 4;x++)//發(fā)原密碼 { DATA = *(p++); for(i = 0;i < 8;i++) { write_bit(BIT0); DATA >>= 1; } } write_bit(0);//鎖定位0:0 p = &cominceptbuff[0]; write_block(0x00,p);//寫(xiě)新配置參數(shù):pwd=0 //密碼無(wú)效:即清除密碼 DATA = 0x00;//停止操作碼00000000B for(i = 0;i < 2;i++) { write_bit(BIT7); DATA <<= 1; } p_U2270B_CFE = 1; delay_2(560);//5.6ms } /*********************************/ void f_changepassword()//修改密碼 { uchar data *data p; uchar i,x,addr; addr = 0x07;//block7 p = &Nkey_a[0];//原密碼 DATA = 0x80;//操作碼10:10xxxxxxB for(i = 0;i < 2;i++) { write_bit(BIT7); DATA <<= 1; } for(x = 0;x < 4;x++)//發(fā)原密碼 { DATA = *(p++); for(i = 0;i < 8;i++) { write_bit(BIT7); DATA >>= 1; } } write_bit(0);//鎖定位0:0 p = &cominceptbuff[0]; write_block(0x07,p);//寫(xiě)新密碼 p_U2270B_CFE = 1; bankdata[24] = cominceptbuff[0];//密碼存入 bankdata[25] = cominceptbuff[1]; bankdata[26] = cominceptbuff[2]; bankdata[27] = cominceptbuff[3]; DATA = 0x00;//停止操作碼00000000B for(i = 0;i < 2;i++) { write_bit(BIT7); DATA <<= 1; } p_U2270B_CFE = 1; delay_2(560);//5.6ms } /***************************子函數(shù)***********************************/ void write_bit(bit x)//寫(xiě)一位 { if(x) { p_U2270B_CFE = 1; delay_2(32);//448*11.0592/120=42延時(shí)448us p_U2270B_CFE = 0; delay_2(28);//280*11.0592/120=26寫(xiě)1 } else { p_U2270B_CFE = 1; delay_2(92);//192*11.0592/120=18 p_U2270B_CFE = 0; delay_2(28);//280*11.0592/120=26寫(xiě)0 } } /*******************寫(xiě)一個(gè)block*******************/ void write_block(uchar addr,uchar data *data p) { uchar i,j; for(i = 0;i < 4;i++)//block0數(shù)據(jù) { DATA = *(p++); for(j = 0;j < 8;j++) { write_bit(BIT0); DATA >>= 1; } } DATA = addr <<= 5;//0地址 for(i = 0;i < 3;i++) { write_bit(BIT7); DATA <<= 1; } } /*************************************************/ void write_password(uchar data *data p) { uchar i,j; for(i = 0;i < 4;i++)// { DATA = *(p++); for(j = 0;j < 8;j++) { write_bit(BIT0); DATA >>= 1; } } } /*************************************************/ void main() { initial(); TI = RI = 0; ES = 1; EA = 1; delay_2(28); //f_readcard(); while(1) { f_readcard(); //讀卡 f_writecard(command1); //寫(xiě)卡 f_clearpassword(); //清除密碼 f_changepassword(); //修改密碼 } }
標(biāo)簽: 12345
上傳時(shí)間: 2017-10-20
上傳用戶(hù):my_lcs
題目:古典問(wèn)題:有一對(duì)兔子,從出生后第3個(gè)月起每個(gè)月都生一對(duì)兔子,小兔子長(zhǎng)到第三個(gè)月后每個(gè)月又生一對(duì)兔子,假如兔子都不死,問(wèn)每個(gè)月的兔子總數(shù)為多少? //這是一個(gè)菲波拉契數(shù)列問(wèn)題 public class lianxi01 { public static void main(String[] args) { System.out.println("第1個(gè)月的兔子對(duì)數(shù): 1"); System.out.println("第2個(gè)月的兔子對(duì)數(shù): 1"); int f1 = 1, f2 = 1, f, M=24; for(int i=3; i<=M; i++) { f = f2; f2 = f1 + f2; f1 = f; System.out.println("第" + i +"個(gè)月的兔子對(duì)數(shù): "+f2); } } } 【程序2】 題目:判斷101-200之間有多少個(gè)素?cái)?shù),并輸出所有素?cái)?shù)。 程序分析:判斷素?cái)?shù)的方法:用一個(gè)數(shù)分別去除2到sqrt(這個(gè)數(shù)),如果能被整除, 則表明此數(shù)不是素?cái)?shù),反之是素?cái)?shù)。 public class lianxi02 { public static void main(String[] args) { int count = 0; for(int i=101; i<200; i+=2) { boolean b = false; for(int j=2; j<=Math.sqrt(i); j++) { if(i % j == 0) { b = false; break; } else { b = true; } } if(b == true) {count ++;System.out.println(i );} } System.out.println( "素?cái)?shù)個(gè)數(shù)是: " + count); } } 【程序3】 題目:打印出所有的 "水仙花數(shù) ",所謂 "水仙花數(shù) "是指一個(gè)三位數(shù),其各位數(shù)字立方和等于該數(shù)本身。例如:153是一個(gè) "水仙花數(shù) ",因?yàn)?53=1的三次方+5的三次方+3的三次方。 public class lianxi03 { public static void main(String[] args) { int b1, b2, b3;
上傳時(shí)間: 2017-12-24
上傳用戶(hù):Ariza
#include<stdio.h> #include<windows.h> int xuanxiang; int studentcount; int banjihao[100]; int xueqihao[100][10]; char xm[100][100]; int xuehao[100][10]; int score[100][3]; int yuwen; int shuxue[000]; int yingyu[100]; int c[100]; int p; char x[1000][100]="",y[100][100]="";/*x學(xué)院 y專(zhuān)業(yè) z班級(jí)*/ int z[100]; main() { void input(); void inputsc(); void alter(); void scbybannji(); printf("--------學(xué)生成績(jī)管理-----\n"); printf("請(qǐng)按相應(yīng)數(shù)字鍵來(lái)實(shí)現(xiàn)相應(yīng)功能\n"); printf("1.錄入學(xué)生信息 2.錄入學(xué)生成績(jī) 3.修改學(xué)生成績(jī)\n"); printf("4.查詢(xún)學(xué)生成績(jī) 5.不及格科目及名單 6.按班級(jí)輸出學(xué)生成績(jī)單\n"); printf("請(qǐng)輸入你要實(shí)現(xiàn)的功能所對(duì)應(yīng)的數(shù)字:"); scanf("%d",&xuanxiang); system("cls"); getchar(); switch (xuanxiang) { case 1:input(); case 2:inputsc(); case 3:alter(); /*case 4:select score(); case 5:bujigekemujimingdan();*/ case 6:scbybanji; } } void input() { int i; printf("請(qǐng)輸入你的學(xué)院名稱(chēng):"); gets(x); printf("請(qǐng)輸入你的專(zhuān)業(yè)名稱(chēng):"); gets(y); printf("請(qǐng)輸入你的班級(jí)號(hào):"); scanf("%d",&z); printf("請(qǐng)輸入你們一個(gè)班有幾個(gè)人:"); scanf("%d",&p); system("cls"); for(i=0;i<p;i++) { printf("請(qǐng)輸入第%d個(gè)學(xué)生的學(xué)號(hào):",i+1); scanf("%d",xuehao[i]); getchar(); printf("請(qǐng)輸入第%d個(gè)學(xué)生的姓名:",i+1); gets(xm[i]); system("cls"); } printf("您已經(jīng)錄入完畢您的班級(jí)所有學(xué)生的信息!\n"); printf("您的班級(jí)為%s%s%s\n",x,y,z); /*alter(p);*/ } void inputsc() { int i; for(i=0;i<p;i++) { printf("\n"); printf("--------------------------------------------------------------------------------\n\n"); printf("\t\t\t\t錄入學(xué)生的成績(jī)\n\n\n"); printf("--------------------------------------------------------------------------------\n\n"); printf("\t\t\t\t%s\n",xm[i]); printf("\n"); printf("\t\t\t\t數(shù)學(xué):"); scanf("%d",&shuxue[i]); printf("\n"); getchar(); printf("\t\t\t\t英語(yǔ):"); scanf("%d",&yingyu[i]); printf("\n"); getchar(); printf("\t\t\t\tc語(yǔ)言:"); scanf("%d",&c[i]); system("cls"); } } void alter() { int i;/*循環(huán)變量*/ int m[10000];/*要查詢(xún)的學(xué)號(hào)*/ int b;/*修改后的成績(jī)*/ char kemu[20]=""; printf("請(qǐng)輸入你要修改的學(xué)生的學(xué)號(hào)"); scanf("%d",&m); for (i=0;i<p;i++) { if (m==xuehao[i]) { printf("%s的數(shù)學(xué)成績(jī)?yōu)?d,英語(yǔ)成績(jī)?yōu)?d,c語(yǔ)言成績(jī)?yōu)?d,xm[i],shuxue[i],yingyu[i],c[i]"); printf("請(qǐng)輸入你想修改的科目");} } gets(kemu); getchar(); if (kemu=="數(shù)學(xué)"); { scanf("%d",&b); shuxue[i]=b;} if (kemu=="英語(yǔ)"); { scanf("%d",&b); yingyu[i]=b;} if (kemu=="c語(yǔ)言"); { scanf("%d",&b); c[i]=b; } printf("%s的數(shù)學(xué)成績(jī)?yōu)?d,英語(yǔ)成績(jī)?yōu)?d,c語(yǔ)言成績(jī)?yōu)?d,xm[i],shuxue[i],yingyu[i],c[i]"); } void scbybannji() { int i; char zyname[20]; int bjnumber; printf("請(qǐng)輸入你的專(zhuān)業(yè)名稱(chēng)"); scanf("%s",&zyname); printf("請(qǐng)輸入你的班級(jí)號(hào)"); scanf("%d",&bjnumber); for (i=0;i<p;i++) { if (zyname==y[i]); if (bjnumber==z[i]); printf("專(zhuān)業(yè)名稱(chēng)%s班級(jí)號(hào)%d數(shù)學(xué)成績(jī)%d英語(yǔ)成績(jī)%dc語(yǔ)言成績(jī)%d,y[i],z[i],shuxue[i],yingyu[i],c[i]"); } }
標(biāo)簽: c語(yǔ)言
上傳時(shí)間: 2018-06-08
上傳用戶(hù):2369043090
|- 數(shù)據(jù)科學(xué)速查表 - 0 B|- 遷移學(xué)習(xí)實(shí)戰(zhàn) - 0 B|- 零起點(diǎn)Python機(jī)器學(xué)習(xí)快速入門(mén) - 0 B|- 《深度學(xué)習(xí)入門(mén):基于Python的理論與實(shí)現(xiàn)》高清中文版PDF+源代碼 - 0 B|- 《Python生物信息學(xué)數(shù)據(jù)管理》中文版PDF+英文版PDF+源代碼 - 0 B|- 《Python深度學(xué)習(xí)》2018中文版pdf+英文版pdf+源代碼 - 0 B|- 《Python編程:從入門(mén)到實(shí)踐》中文版+源代碼 - 0 B|- stanford machine learning - 0 B|- Python語(yǔ)言程序設(shè)計(jì)2018版電子教案 - 0 B|- Python網(wǎng)絡(luò)編程第三版 (原版+中文版+源代碼) - 0 B|- Python機(jī)器學(xué)習(xí)實(shí)踐指南(中文版帶書(shū)簽)、原書(shū)代碼、數(shù)據(jù)集 - 0 B|- python官方文檔 - 0 B|- Python編程(第4版 套裝上下冊(cè)) - 0 B|- PyQt5快速開(kāi)發(fā)與實(shí)戰(zhàn)(pdf+源碼) - 0 B|- linux - 0 B|- 征服PYTHON-語(yǔ)言基礎(chǔ)與典型應(yīng)用.pdf - 67.40 MB|- 與孩子一起學(xué)編程_中文版_詳細(xì)書(shū)簽.pdf - 69.10 MB|- 用Python做科學(xué)計(jì)算.pdf - 6.10 MB|- 用Python寫(xiě)網(wǎng)絡(luò)爬蟲(chóng).pdf - 9.90 MB|- 用Python進(jìn)行自然語(yǔ)言處理(中文翻譯NLTK).pdf - 4.40 MB|- 像計(jì)算機(jī)科學(xué)家那樣思考 Python中文版第二版.pdf - 712.00 kB|- 網(wǎng)絡(luò)爬蟲(chóng)-Python和數(shù)據(jù)分析.pdf - 6.90 MB|- 圖解機(jī)器學(xué)習(xí).pdf - 59.40 MB|- 凸優(yōu)化.pdf - 5.70 MB|- 數(shù)據(jù)挖掘?qū)д?pdf - 2.50 MB|- 數(shù)據(jù)科學(xué)入門(mén).pdf - 13.30 MB|- 數(shù)據(jù)結(jié)構(gòu)與算法__Python語(yǔ)言描述_裘宗燕編著_北京:機(jī)械工業(yè)出版社_,_2016.01_P346.pdf - 74.30 MB|- 神經(jīng)網(wǎng)絡(luò)與深度學(xué)習(xí).pdf - 92.60 MB|- 深入Python3...
標(biāo)簽: python
上傳時(shí)間: 2022-06-06
上傳用戶(hù):
eeworm.com VIP專(zhuān)區(qū) 單片機(jī)源碼系列 67資源包含以下內(nèi)容:1. P89LPC912單片機(jī)數(shù)據(jù)手冊(cè).pdf2. P89LPC932 Flash單片機(jī)使用指南.pdf3. PC MCU串行通信的應(yīng)用設(shè)計(jì)方法.pdf4. RSA加解密系統(tǒng)及其單芯片實(shí)現(xiàn).pdf5. PCF8563實(shí)時(shí)時(shí)鐘高精度調(diào)整方法.pdf6. PAM2862 1A LED Driver with Int.pdf7. AN070219 PCF8563中斷輸出功能.pdf8. SJA1000 Stand-alone CAN contro.pdf9. PCA82C250 PCA82C251 CAN Transc.pdf10. SJA1000獨(dú)立的CAN控制器應(yīng)用指南.pdf11. PCA82C250 CAN收發(fā)器應(yīng)用指南.pdf12. SCN2681 SCN68681和SCC2691數(shù)據(jù)通信.pdf13. Philips單片機(jī)P89V51RD2簡(jiǎn)介.pdf14. 飛利浦SC16C器件和飛利浦低功耗SC16CxxxB器件之間.pdf15. P89V51RD2單片機(jī)看門(mén)狗的使用方法.pdf16. SC16C554 SC16C654 SC16C554B SC.pdf17. P89V51RD2的加密操作.pdf18. SC16C550應(yīng)用實(shí)例.pdf19. 如何在C語(yǔ)言中調(diào)用P89V51RD2的IAP功能.pdf20. P89LPC901實(shí)現(xiàn)ADC DAC及UART通信.pdf21. P89LPC900在高精度模數(shù)轉(zhuǎn)換場(chǎng)合的應(yīng)用.pdf22. P89C51Rx2xx硬件進(jìn)入ISP的方法.pdf23. Study-3 51單片機(jī)開(kāi)發(fā)板原理圖.pdf24. 基于P87LPC760的DALI從機(jī).pdf25. PCA9515D PCA9515DP I2C中繼器.pdf26. PCA9534 8bit I2C bus and SMBus low power IO port with interru.pdf27. LPC900 Flash單片機(jī)鍵盤(pán)中斷.pdf28. PCA9516 5channel I2C hub.pdf29. PCA9535 PCA9535C 16bit I2C bus.pdf30. LPC700系列單片機(jī)看門(mén)狗復(fù)位應(yīng)注意的問(wèn)題.pdf31. PCA9516 I2C中繼器.pdf32. PCA9536 4bit I2C bus and SMBus.pdf33. 內(nèi)置Reset WDT電路的串行E2PROM原理及應(yīng)用設(shè)計(jì).pdf34. PCA9517 Level translating I2C-.pdf35. PCA9537 4bit I2C bus and SMBus.pdf36. X-tal oscillators on 8-bit mic.pdf37. PCA9517低電壓I2C總線中繼器.pdf38. PCA9538 8bit I2C bus and SMBus.pdf39. 8051系列單片機(jī)應(yīng)用系統(tǒng)的PROTEUS仿真設(shè)計(jì).doc40. PCA9518 Expandable 5channel I2.pdf41. PCA9539 PCA9539R 16-bit I2C-bu.pdf42. 基于單總線技術(shù)蓄電池監(jiān)控系統(tǒng)設(shè)計(jì).pdf43. PCA9518A I2C 中繼器集線器與擴(kuò)展器.pdf44. PCA9540B 2channel I2C bus mult.pdf45. 基于AT89C51應(yīng)用系統(tǒng)的串行通信設(shè)計(jì).pdf46. PCA9519 4channel level transla.pdf47. PCA9541 2 to 1 I2C-bus master.pdf48. PCA9519 4通道I2C-bus SMBus 中繼器.pdf49. PCA9544A 4channel I2C multiple.pdf50. PCA9542A 2channel I2C bus mult.pdf51. PCA9544A I2C多路復(fù)用器.pdf52. PCA9544中文資料.pdf53. PCA9549 Octal bus switch with.pdf54. PCA9545A/PCA9545B/PCA9545C I2C.pdf55. PCA9549D/PCA9549PW/PCA9549B I2.pdf56. PCA9546A 4 channel I2C bus swi.pdf57. PCA9555 16bit I2C-bus and SMBu.pdf58. PCA9546A I2C多路復(fù)用器和開(kāi)關(guān).pdf59. PCA9670 Remote 8-bit IO expand.pdf60. PCA9547 8 channel I2C bus mult.pdf61. PCA9671 Remote 16-bit IO expan.pdf62. PCA9547D/PW/BS I2C多路復(fù)用器和開(kāi)關(guān).pdf63. PCA9672 Remote 8-bit IO expand.pdf64. PCA9548中文資料.pdf65. PCA9673 Remote 16-bit IO expan.pdf66. PCA9548A 8 channel I2C bus swi.pdf67. PCA9674 PCA9674A Remote 8-bit.pdf68. PCA9548AB I2C多路復(fù)用器和開(kāi)關(guān).pdf69. 8-bit I2C-bus and SMBus IO port with reset.pdf70. PCA9698芯片的應(yīng)用.pdf71. PCA9698 I2C擴(kuò)展芯片.pdf72. PCF2123的中斷輸出功能.pdf73. TI新推29款Cortex-M3內(nèi)核Stelleris AR.pdf74. 端口RS-232工業(yè)PC104多串口卡.pdf75. TIPC1000帶視頻輸入接口的嵌入式觸摸平板電腦.pdf76. 串口調(diào)試助手用戶(hù)手冊(cè).pdf77. PCM8416AS自動(dòng)校準(zhǔn)功能智能型PC104高分辨率多功能.pdf78. TJA1042高速CAN 收發(fā)器.pdf79. COS-II調(diào)試插件.pdf80. PROFIBUS技術(shù)和應(yīng)用.pdf81. TJA1042 High-speed CAN transce.pdf82. TKStudio IDE集成開(kāi)發(fā)環(huán)境升級(jí)記錄.pdf83. Replacement of NXP PCA9518 wit.pdf84. TJA1051高速CAN 收發(fā)器.pdf85. 1A SIMPLE STEP-DOWN SWITCHING.pdf86. RSM232隔離RS-232收發(fā)器.pdf87. TJA1051 High-speed CAN transce.pdf88. DUAL RS-232 DRIVER RECEIVER WI.pdf89. RSM-4055 8通道隔離數(shù)字量輸入輸出模塊.pdf90. 外部工具用戶(hù)手冊(cè).pdf91. XGate COP10 CANopen 嵌入式通信模塊.pdf92. RSM-6505 5通道熱電偶測(cè)量模塊.pdf93. 十六進(jìn)制編輯器.pdf94. ZigBee模塊ZICM2410應(yīng)用開(kāi)發(fā)指南.pdf95. RSM-65055通道熱電偶測(cè)溫模塊.pdf96. 圖片字模助手.pdf97. ZY00xxGD-10W交直流兩用全電壓輸入AC-DC電源模.pdf98. TKStudio下SDCC_8051用戶(hù)使用手冊(cè).pdf99. 定壓輸出隔離穩(wěn)壓?jiǎn)屋敵鱿盗?pdf100. ZY00xxGD-15W交直流兩用全電壓輸入AC-DC電源模.pdf
標(biāo)簽: 電子技術(shù)基礎(chǔ) 模擬電子技術(shù) 電子教案
上傳時(shí)間: 2013-04-15
上傳用戶(hù):eeworm
⑴ 提供簡(jiǎn)單命令 A、通過(guò)串口加載程序到指定內(nèi)存 B、將程序燒寫(xiě)到 NANDFLASH 指定位置 C、LCD 操作函數(shù) I、畫(huà)點(diǎn) II、畫(huà)線 III、畫(huà)圓 IV、顯示圖像 ⑵ bootloader 具備自我更新能力 ⑶ bootloader 可以啟動(dòng) LINUX ⑷ 能通過(guò)網(wǎng)絡(luò)傳輸文件(FTP/UDP)
標(biāo)簽: NANDFLASH LCD III 命令
上傳時(shí)間: 2016-06-18
上傳用戶(hù):牧羊人8920
FIELD II 是B超的matlab仿真程序。 執(zhí)行 先運(yùn)行 field_init.m ,進(jìn)行初始化 運(yùn)行文件夾 sample_cyst_phantom 里的make_image.m,產(chǎn)生體模的B超仿真影像 運(yùn)行文件夾 sample_kidney 里的make_image.m,產(chǎn)生腎臟的B超仿真影像(計(jì)算時(shí)間會(huì)很長(zhǎng)) 示例: 本包內(nèi)帶了一個(gè)腎臟的B超仿真。更多的例子,大家google吧。
標(biāo)簽: field_init matlab FIELD II
上傳時(shí)間: 2014-01-16
上傳用戶(hù):BOBOniu
Verilog HDL: Magnitude For a vector (a,b), the magnitude representation is the following: A common approach to implementing these arithmetic functions is to use the Coordinate Rotation Digital Computer (CORDIC) algorithm. The CORDIC algorithm calculates the trigonometric functions of sine, cosine, magnitude, and phase using an iterative process. It is made up of a series of micro-rotations of the vector by a set of predetermined constants, which are powers of two. Using binary arithmetic, this algorithm essentially replaces multipliers with shift and add operations. In a Stratix™ device, it is possible to calculate some of these arithmetic functions directly, without having to implement the CORDIC algorithm.
標(biāo)簽: representation Magnitude the magnitude
上傳時(shí)間: 2013-12-24
上傳用戶(hù):金宜
21世紀(jì)大學(xué)新型參考教材系列 集成電路B 荒井
上傳時(shí)間: 2013-04-15
上傳用戶(hù):eeworm
家電維修(最基礎(chǔ)的教程B)1-20.Torrent
上傳時(shí)間: 2013-06-10
上傳用戶(hù):eeworm
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1