| /** | |
| * @file misc.h | |
| * @author you.chen | |
| * @brief | |
| * @version 1.0 | |
| * @date 2023-08-21 | |
| * | |
| * @copyright Copyright (c) 2023 | |
| * | |
| */ | |
| #ifndef __LYNQ_MISC_H__ | |
| #define __LYNQ_MISC_H__ | |
| #ifdef __cplusplus | |
| extern "C" { | |
| #endif | |
| /** | |
| * @brief lynq_get_security_boot_flag get the flag in efuse | |
| * @param enable_flag (output param, 1 for enabled) | |
| * @return 0 success, -1 some error occur | |
| */ | |
| int lynq_get_security_boot_flag(int * enabled_flag); | |
| #ifdef __cplusplus | |
| } | |
| #endif | |
| #endif //#ifndef __LYNQ_MISC_H__ |