#ifndef _APP_SCREEN_SAVE_H #define _APP_SCREEN_SAVE_H #include "../bsp/TTSSbsp/bsp_config.h" #define SCREEN_SAVE_LEN 10 //寄存器需要存放的最大数量为10组 #define EEPROM_WEIGHT_ADDR 0x100 //定义一个起始地址为0x100的寄存器 //用来存储重量数据的结构体(数组) typedef struct { U8 head[2]; U8 available; U16 kgx10_out; U8 tail[2]; }SCREEN_SAVE; extern SCREEN_SAVE screen_save_arr[SCREEN_SAVE_LEN]; extern void screen_save_init(void); extern void screen_save_push(U16 weight); #endif