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.
28 lines
712 B
28 lines
712 B
#ifndef _app_task_pen_head_H
|
|
#define _app_task_pen_head_H
|
|
|
|
#include "../bsp/bsp_config.h"
|
|
#include "../bsp/w600.h"
|
|
#include "../ctask/task.h"
|
|
#include "../tpc/at0d0a.h"
|
|
#include "../tpc/ccmodbus.h"
|
|
#include "../app/app_config.h"
|
|
|
|
|
|
struct _s_task_pen_head_
|
|
{
|
|
TS_task task;
|
|
vU32 last_write_time;
|
|
vU32 now_write_time;
|
|
vU32 time_lag;
|
|
vU8 full;
|
|
vU8 null;
|
|
PenPoint point;
|
|
};
|
|
extern struct _s_task_pen_head_ s_task_pen_write;
|
|
extern struct _s_task_pen_head_ s_task_pen_read;
|
|
extern void L3_task_pen_head_write_init();
|
|
extern void L3_task_pen_head_read_init();
|
|
extern void L3_task_pen_head_write_handle(struct _s_task_pen_head_ *s);
|
|
extern void L3_task_pen_head_read_handle(struct _s_task_pen_head_ *s);
|
|
#endif
|
|
|