ATT7022B 驱动程序

上传者: weilei333 | 上传时间: 2023-09-08 11:04:17 | 文件大小: 232KB | 文件类型: RAR
void AdjATT7022(void) { UDWORD tmpAdj[37]; UWORD tmpOffsetTemp,TMP; // 温度偏差 UBYTE i,j; if((F_Chked==0x1234)&&((P1IN&SW2;)==SW2)) { for(i=0; i<=36; i++) tmpAdj[i]=Adj[i]; tmpOffsetTemp=OffsetTemp; } else { for(i=0; i<=36; i++) tmpAdj[i]=CheckMeterPara[i]; tmpOffsetTemp=1723; // 1615+6*18; 温度传感器的最大偏差达 5%,即 18度 =6*18=108 } spi_init((UDWORD *)&tmpAdj;[0]); _EINT(); TempStart(); TMP=TAR; while(TAR-TMP<4095) {}; // delay 125ms CalTemp(tmpOffsetTemp); _EINT(); i=0; LcdFill(0); AdjDisplay(i+1); DM.MetStatus=F_Chk; while(i<=13) { if((DM.KeyFlg & F_KeyInt)==F_KeyInt) { if((DM.KeyFlg & F_Key1)==F_Key1) { switch(i) { case 0: // 功率增益校正-- A tmpAdj[4]=tmpAdj[4]+AdjStep; spi_write_parameter(CheckMeterAddr[4],tmpAdj[4]); tmpAdj[7]=tmpAdj[7]+AdjStep; spi_write_parameter(CheckMeterAddr[7],tmpAdj[7]); break;

文件下载

资源详情

[{"title":"( 73 个子文件 232KB ) ATT7022B 驱动程序","children":[{"title":"F449","children":[{"title":"ReadMe.txt <span style='color:#111;'> 439B </span>","children":null,"spread":false},{"title":"Include","children":[{"title":"msp430F435C.xcl <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"stdarg.h <span style='color:#111;'> 6.14KB </span>","children":null,"spread":false},{"title":"msp430F449C.xcl <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"setjmp.h <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"In430.h <span style='color:#111;'> 631B </span>","children":null,"spread":false},{"title":"msp430x43x.h <span style='color:#111;'> 54.13KB </span>","children":null,"spread":false},{"title":"stdlib.h <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"msp430x44x.h <span style='color:#111;'> 59.33KB </span>","children":null,"spread":false},{"title":"ctype.h <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"Segment.xcl <span style='color:#111;'> 2.73KB </span>","children":null,"spread":false},{"title":"_msp430F449.ddf <span style='color:#111;'> 16.59KB </span>","children":null,"spread":false},{"title":"msp430F413C.xcl <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false},{"title":"errno.h <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"msp430x41x.h <span style='color:#111;'> 36.47KB </span>","children":null,"spread":false},{"title":"assert.h <span style='color:#111;'> 723B </span>","children":null,"spread":false},{"title":"msp430F413.ddf <span style='color:#111;'> 7.70KB </span>","children":null,"spread":false},{"title":"iccfloat.h <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false},{"title":"iso646.h <span style='color:#111;'> 481B </span>","children":null,"spread":false},{"title":"limits.h <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"math.h <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"sysmac.h <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"icclbutl.h <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":"msp430F435.ddf <span style='color:#111;'> 13.79KB </span>","children":null,"spread":false},{"title":"iccext.h <span style='color:#111;'> 638B </span>","children":null,"spread":false},{"title":"stdio.h <span style='color:#111;'> 988B </span>","children":null,"spread":false},{"title":"stddef.h <span style='color:#111;'> 727B </span>","children":null,"spread":false},{"title":"string.h <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"float.h <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false}],"spread":false},{"title":"RsComm.h <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"BATTST.c <span style='color:#111;'> 855B </span>","children":null,"spread":false},{"title":"General.h <span style='color:#111;'> 7.51KB </span>","children":null,"spread":false},{"title":"Asms.s43 <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"ext_file","children":[{"title":"msp430x44x.h <span style='color:#111;'> 70.09KB </span>","children":null,"spread":false},{"title":"io430x44x.h <span style='color:#111;'> 102.35KB </span>","children":null,"spread":false}],"spread":true},{"title":"Main.c <span style='color:#111;'> 11.88KB </span>","children":null,"spread":false},{"title":"Def.h <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"Timer.c <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false},{"title":"MUL.prj <span style='color:#111;'> 6.07KB </span>","children":null,"spread":false},{"title":"card42h.h <span style='color:#111;'> 11.27KB </span>","children":null,"spread":false},{"title":"Temp.c <span style='color:#111;'> 4.58KB </span>","children":null,"spread":false},{"title":"SPI.h <span style='color:#111;'> 6.89KB </span>","children":null,"spread":false},{"title":"General.c <span style='color:#111;'> 6.72KB </span>","children":null,"spread":false},{"title":"card42.c <span style='color:#111;'> 8.69KB </span>","children":null,"spread":false},{"title":"Type.h <span style='color:#111;'> 3.19KB </span>","children":null,"spread":false},{"title":"MD.C <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"List","children":null,"spread":false},{"title":"Obj","children":[{"title":"asms.r43 <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false}],"spread":false},{"title":"Exe","children":[{"title":"MUL.ini <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"MUL.d43 <span style='color:#111;'> 87.76KB </span>","children":null,"spread":false},{"title":"MUL.txt <span style='color:#111;'> 54.75KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"Flash.c <span style='color:#111;'> 5.73KB </span>","children":null,"spread":false},{"title":"RsComm.c <span style='color:#111;'> 21.53KB </span>","children":null,"spread":false},{"title":"SPI.c <span style='color:#111;'> 8.17KB </span>","children":null,"spread":false},{"title":"Display.c <span style='color:#111;'> 20.46KB </span>","children":null,"spread":false},{"title":"Data.h <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false},{"title":"Tariff.c <span style='color:#111;'> 3.33KB </span>","children":null,"spread":false},{"title":"Display.h <span style='color:#111;'> 6.31KB </span>","children":null,"spread":false},{"title":"Main.h <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"MUL.dtp <span style='color:#111;'> 272B </span>","children":null,"spread":false},{"title":"card42.h <span style='color:#111;'> 854B </span>","children":null,"spread":false},{"title":"Adj7022.c <span style='color:#111;'> 4.10KB </span>","children":null,"spread":false},{"title":"SI","children":[{"title":"F449三相多功能电表DEMO.PFI <span style='color:#111;'> 104B </span>","children":null,"spread":false},{"title":"F449三相多功能电表DEMO.PRI <span style='color:#111;'> 51.89KB </span>","children":null,"spread":false},{"title":"F449三相多功能电表DEMO.SearchResults <span style='color:#111;'> 94B </span>","children":null,"spread":false},{"title":"F449三相多功能电表DEMO.IMB <span style='color:#111;'> 56.00KB </span>","children":null,"spread":false},{"title":"F449三相多功能电表DEMO.CF3 <span style='color:#111;'> 139.88KB </span>","children":null,"spread":false},{"title":"F449三相多功能电表DEMO.PO <span style='color:#111;'> 776B </span>","children":null,"spread":false},{"title":"F449三相多功能电表DEMO.IAB <span style='color:#111;'> 80.00KB </span>","children":null,"spread":false},{"title":"F449三相多功能电表DEMO.IMD <span style='color:#111;'> 888B </span>","children":null,"spread":false},{"title":"F449三相多功能电表DEMO.WK3 <span style='color:#111;'> 17.54KB </span>","children":null,"spread":false},{"title":"F449三相多功能电表DEMO.IAD <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"F449三相多功能电表DEMO.PS <span style='color:#111;'> 376.41KB </span>","children":null,"spread":false},{"title":"F449三相多功能电表DEMO.PR <span style='color:#111;'> 8.42KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明