MC3302_SDK_V1.1.9_202507281.../media/mpp/include/fhhcp/sys.h
2025-11-11 12:08:31 +08:00

34 lines
794 B
C
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef _NPU_SYS_H_
#define _NPU_SYS_H_
#include "base.h"
#ifdef __cplusplus
extern "C" {
#endif
/*!
* @brief 查询NPU接口版本信息
* @param [out] majorVersion major版本
* @param [out] minorVersion minor版本
* @param [out] patchVersion patch版本
* @note 版本信息格式 x.y.z
* 返回值:
0成功其它值错误码
*/
TY_NPU_FUNC_VISIBILITY int32_t TY_SDK_GetVersion(int32_t *majorVersion,
int32_t *minorVersion,
int32_t *patchVersion);
/*!
* @brief 设置NPU接口log等级
* @param [in] level log等级取值范围[0,4]值越大输出log越少
* 返回值:
0成功其它值错误码
*/
TY_NPU_FUNC_VISIBILITY int32_t TY_SDK_SetLogLevel(uint32_t level);
#ifdef __cplusplus
}
#endif
#endif