12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #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 ----------------------------------------------------*/
- typedef enum {
- SELFCHECK_FLOW_TOOLING_BOARD = 0x55, //工装板自检
-
- SELFCHECK_FLOW_COMPLETE_BOARD, //完整板自检
-
- SELFCHECK_FLOW_DONE, //自检完成
-
- } SELFCHECK_FLOW_e; //自检流程
- /*API -------------------------------------------------------*/
- /**
- @brief 初始化自检
- @param 无
- @return 当前的自检流程
- */
- SELFCHECK_FLOW_e selfcheck_Init(void);
- #ifdef __cplusplus
- }
- #endif
- #endif
|