stm32 开发 使用锐能微 rn8302计量芯片 包含645规约,lcd驱动,iic驱动,rtc时钟等等
STM32 RN8302 三相电能表 计量 校准
DL645Wdog.T_WDOG=5000;//ι¹·¼ÆÊýÆ÷³õÖµ£¬µ±´ËÊýΪ0ʱֹͣι¹·¡£ÖжÏÀïÅжϴÎÊý²»µÈÓÚ0ºóÔÙι¹·
fnWDT_Restart();
fnDl645Front_Exec();
fnDl645Bkgrd_Exec();
fnWDT_Restart();
fnDl645Disp_SessionExec();
fnScomPk_Exec(SCOM_PORT_RS485A);
fnWDT_Restart();
fnScomPk_Exec(SCOM_PORT_RS485B);
fnWDT_Restart();
fnScomPk_Exec(SCOM_PORT_IR);
fnWDT_Restart();
#if(ZBComFlag)
fnScomPk_Exec(SCOM_PORT_ZBCOM);
#endif
fnWDT_Restart();
fnDl645Energy_Exec();
fnWDT_Restart();
fnDl645Energy_RmDay(Dl645Bkgrd.PubData.fChange.Flag);
#if(METERTYPE == 2)
fnDl645Energy_RmYear(Dl645Bkgrd.PubData.fChange.Flag);
#endif
fnWDT_Restart();
fnDl645Energy_Frz(Dl645Bkgrd.PubData.fChange.Flag);
fnWDT_Restart();
fnDl645Energy_HourFrz(Dl645Bkgrd.PubData.fChange.Flag);
fnDl645Need_Exec();
fnDl645Need_RmDay(Dl645Bkgrd.PubData.fChange.Flag);
fnWDT_Restart();
fnDl645Event_Exec();
fnDl645Event_OpExec();
fnOpenCoverTailEvent();
fnCurveExec();
fnDl645Secret_Exec();
fnDl645Stat_Exec();
fnDl645Stat_RmDay(Dl645Bkgrd.PubData.fChange.Flag);
fnWDT_Restart();
fnDl645Output_Exec();
Dl645Bkgrd.PubData.fChange.Flag = 0 ;
fnDl645Bkgrd_InactivePrograme();
fnWDT_Restart();
评论