firmware/br-ext-chip-xiongmai/package/xiongmai-osdrv2/files/include/xm/smart_result.h

34 lines
661 B
C
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#ifndef __SMART_RESULT_H__
#define __SMART_RESULT_H__
#ifdef __cplusplus
#if __cplusplus
extern "C"
{
#endif
#endif /* __cplusplus */
typedef enum{
SMART_MOVE_DETECT = 0,
SMART_PRED,
}SMART_TYPE_E;
typedef struct stSmart_Result
{
unsigned int cmd;//查询命令每bit代表一种算法(算法顺序与SMART_TYPE_E中顺序保持一致)
unsigned int uiFlag; //查询结果每bit代表一种算法结果(算法顺序与SMART_TYPE_E中顺序保持一致)
unsigned int reserved[16];
}Smart_Result_S;
XM_S32 Smart_GetResult(int nChannel,Smart_Result_S *pstResult) __attribute__((weak));
#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif /* __cplusplus */
#endif