#ifndef __asp_oid_H__ #define __asp_oid_H__ /************************************************************************************** asp_oid.c ****************************************************************************************/ #include "bsp_oid.h" #include "msp_uart0.h" //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>for debug typedef struct _ts_debug_oid_cmd_ {///6bytes 去掉了filter和命令字 U8 cmd; /// U8 rw; /// 写还是读: =1 读,=0写 U8 dat; ///数据 U16 reg; /// U16 end; /// }TS_oid_cmd; #define UDCMD_wakeup 0x11 /// #define UDCMD_cmdsend 0x22 /// #define UDCMD_readreg 0x23 /// #define UDCMD_log 0x33 /// #define UDCMD_get 0x44 /// #define UDCMD_CheckVersion 0x45 /// #define UDCMD_testtime_us 0x55 /// #define UDCMD_testtime_ms 0x66 /// ///<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<