You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
516 B

#ifndef asp_task_WC_
#define asp_task_WC_
#define D_ID_0 0
#define D_ID_1 1
#define D_ID_2 2
#define D_ID D_ID_0
#include "bsp_para2flash.h"
#include "../ctask/task.h"
#include "bsp_SI24R1.h"
#include "msp_UART0.h"
#include "asp_SI24R1m.h"
typedef struct
{
TS_task task;
U32 sendStamp;
U32 over;
U8 ok;
Modbus03 *m;
/// U8 ackFlag;
}TS_WCapp_;
extern TS_WCapp_ ts_WCapp;
///L3_task_handle_NOACK_master(&ts_WCapp);
void L2_task_WC_init(void);
void L3_task_WC_master_handle(TS_WCapp_ *s);
#endif