123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- #ifndef __SELFCHECK_H__
- #define __SELFCHECK_H__
- #ifdef __cplusplus
- extern "C" {
- #endif
- /*Includes ------------------------------------------------------*/
- #include <stdbool.h>
- #include <stdint.h>
- #include <string.h>
- #include "sdk_common.h"
- #include "SEGGER_RTT.h"
- #include "usr_config.h"
- /*Private macro ------------------------------------------------------------------------------------------------------------------------------------*/
- /*STRUCTION ----------------------------------------------------*/
- /*API -------------------------------------------------------*/
- /**
- @brief 自检触发初始化
- @param 无
- @return 无
- */
- void selfcheck_trigger_Init(void);
- /**
- @brief 设置自检触发指令
- @param order - [in] 指令类型
- @return 无
- */
- void selfcheck_trigger_set_order(char order);
- /**
- @brief 自检触发回调
- @param order - [in] 回调触发的指令
- @return 无
- */
- void selfcheck_trigger_callback(char order);
- #ifdef __cplusplus
- }
- #endif
- #endif
|