12345678910111213141516171819202122232425262728 |
- #ifndef __app_err_h__
- #define __app_err_h__
- #include <stdbool.h>
- #include <stdint.h>
- #include <string.h>
- #include "sdk_common.h"
- #include "SEGGER_RTT.h"
- #include "usr_config.h"
- enum { //渣昫晤瘍
- ERR_NUM_NONE = 0, //隱
- ERR_NUM_FLASH, //FLASH渣昫
- ERR_NUM_IMU_PRESS, //IMU 揤薯渣昫
- ERR_NUM_IMU_MPU9250, //IMU 9粣渣昫
- ERR_NUM_IMU_BMI160, //IMU 6粣渣昫
- ERR_NUM_IMU_QMC5883L, //華棠數渣昫
- ERR_NUM_IMU_QMC6310, //華棠數渣昫
- ERR_NUM_GAME, //蚔牁耀宒渣昫
- ERR_NUM_CONNET, //蟀諉衵衧渣昫
- ERR_NUM_LOG, //゜祩湖荂
- ERR_NUM_OF_T, //韜鍔蟀哿蚚森硉
- };
- void app_err_Init(void);
- void app_err_Set(uint8_t errNum,uint8_t errCode);
- #endif
|