42 lines
833 B
C
42 lines
833 B
C
#ifndef _INCLUDE_H_
|
|
#define _INCLUDE_H_
|
|
|
|
/************FreeRTOS include*********************/
|
|
#include "FreeRTOS.h"
|
|
#include "task.h"
|
|
#include "queue.h"
|
|
#include "semphr.h"
|
|
#include "timers.h"
|
|
#include "event_groups.h"
|
|
/************standard include************************/
|
|
#include "string.h"
|
|
|
|
/**************user include***********************/
|
|
#include "Mem.h"
|
|
#include "Basedefine.h"
|
|
#include "General.h"
|
|
|
|
#include "debug_printf.h"
|
|
#include "uart.h"
|
|
#include "Init.h"
|
|
|
|
|
|
#define METER_ADDR_LEN (7)
|
|
#define METERTABLE_NUM_MAX (300)
|
|
|
|
|
|
#define METER_CLOSE (1)
|
|
#define METER_OPEN (2)
|
|
|
|
#define COMMON_VER
|
|
#define ONE_UNIT_LEN (16) //一个单元的数据长度
|
|
|
|
|
|
//#define AMT_VER
|
|
|
|
|
|
//#define ONE_UNIT_LEN (17) //一个单元的数据长度
|
|
|
|
|
|
#endif
|