update
This commit is contained in:
28
calib_board/usr/app/app_com.h
Normal file
28
calib_board/usr/app/app_com.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef _APP_COM_H_
|
||||
#define _APP_COM_H_
|
||||
|
||||
#include "main.h"
|
||||
#include "app_leakage.h"
|
||||
#include "bsp_uart.h"
|
||||
|
||||
#define APP_COM_NUM (4)
|
||||
|
||||
typedef struct
|
||||
{
|
||||
u8 baudrate; /*<2A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>*/
|
||||
}app_com_flash_data_t;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
app_com_flash_data_t flash_data; /*flash<73><68><EFBFBD><EFBFBD>*/
|
||||
u16 device_num; /*<2A><EFBFBD><F3B6A8B5>豸<EFBFBD><E8B1B8><EFBFBD><EFBFBD>*/
|
||||
u8 device_index[APP_LEAKAGE_SUB_DEVICE_NUM]; /*<2A>豸<EFBFBD><E8B1B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>*/
|
||||
bsp_uart_t *uart; /*<2A><EFBFBD><F3B6A8B5>ĸ<EFBFBD><C4B8><EFBFBD><EFBFBD><EFBFBD>*/
|
||||
}app_com_class_t;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
app_com_class_t com_class[APP_COM_NUM];
|
||||
}app_com_t;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user