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.
 
 
 
 

38 lines
1.0 KiB

#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 ///
///<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<for debug
extern void L1_oid_init(void);
extern void L1_oid_main(void);
extern void L1_oid_debug(u8 *para);
#endif