您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 信息化管理 > pic单片机ad转换数据存储及串口效率
3(136)20066MECHANICALENGINEERING&AUTOMATIONNo13Jun1:167226413(2006)0320046202PICAöD,(,200237):PICAöD8RAM,PIC,,,,:PIC;;:TP36811:A:2005212219:(19812),,,,0PC,AöDPCPICAöD810,8AöD10,28,822,8RAM2,PIC16F877,RAM,,3688RAM,AöD,2,184;100AöD,200,,,AöD,200,,,AöD110AöD,AöDa[size],a,88,8b,8c,82,,,10AöD3ö8,,5ö8AöDa[size],12CPIC16F877ihjnmint8,a[size]int16,AöD;b[number]c[number]d[number]int8:voidconvert(){h=j;for(i=0;isize;i++){b[h+i]=a[i];c[i]=(a[i]8)&0x03;j++;}m=n;for(i=0;isizeö4;i++){d[m+i]=(c[43i]2)ûc[43i+1];d[m+i]=(d[m+i]4)û(c[43i+2]2);d[m+i]=d[m+i]ûc[43i+3];n++;}}1AöDforAöD,8b,2cc82,forc[i]c[i+1]c[i+2]c[i+3]2,8,d,AöDab8d2hjnm,,,njconvert()03,12AöD,12AöD84,248,12AöD1ö4,1ö4990Ls,,,,1AöD,:[1]1PIC[M]1:,20021[2]1MCS-51[M]1:,19901EfficiencyofAöDConvertedData’sMemoryandSerialCommunicationinPICMicrochipLIJie,LVQiang-zhong(CollegeofMechanicalEngineering,EastChinaUniversityofScienceandTechnology,Shanghai200237,China)Abstract:Thedatum,afterconvertedfromanalogtodigital,usuallyoccupys2unitsinPICmicrochip.However,therearesolimitedmemoryunitsinPICmicrochipthattheywillcauseinefficientuseofmemoryunitsinPICmicrochipandserialcommunication.Thispaperproposesamethodtoimprovetransferefficiencyandreducememoryunitsforthesamequantityofthedata.Keywords:PICmicrochip;datamemory;serialcommunication7420063,:PICAöD
本文标题:pic单片机ad转换数据存储及串口效率
链接地址:https://www.777doc.com/doc-741824 .html