39 lines
853 B
C
39 lines
853 B
C
/**
|
|
* @file cmd_decoder.h
|
|
* @author impressionyang (impressionyang@outlook.com)
|
|
* @brief 字符串命令解析器的头文件
|
|
* @version 0.1
|
|
* @date 2022-08-23
|
|
*
|
|
* @copyright Copyright (c) 2022 impressionyang
|
|
*
|
|
* @par 修改日志:
|
|
* <table>
|
|
* <tr><th>Date <th>Version <th>Author <th>Description
|
|
* <tr><td>2022-08-23 <td>v1.0 <td>impressionyang <td>内容
|
|
* </table>
|
|
*/
|
|
#ifndef __CMD_DECODER_H__
|
|
#define __CMD_DECODER_H__
|
|
|
|
#include <stdint.h>
|
|
|
|
#ifdef __cplusplus ///<use C compiler
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
|
|
typedef struct _cmd_decoder_
|
|
{
|
|
/// 使能标志,确定是否进行了初始化
|
|
uint8_t enable;
|
|
|
|
} cmd_decoder_t, *cmd_decoder_t_p;
|
|
|
|
|
|
#ifdef __cplusplus ///<end extern c
|
|
}
|
|
#endif
|
|
#endif//__CMD_DECODER_H__
|