Files
hisi_SS524V100_SDK/vendor/nvp6158/motion.h
T

31 lines
753 B
C

/*
Copyright (c), 2001-2022, Shenshu Tech. Co., Ltd.
*/
#ifndef _MOTION_H_
#define _MOTION_H_
#include "common.h"
#define FUNC_ON 0x01
#define FUNC_OFF 0x00
typedef struct _motion_mode {
unsigned char ch;
unsigned char devnum;
unsigned char set_val;
unsigned char fmtdef;
} motion_mode;
void motion_onoff_set(motion_mode *motion_set);
void motion_display_onoff_set(motion_mode *motion_set);
void motion_pixel_all_onoff_set(motion_mode *motion_set);
void motion_pixel_onoff_set(motion_mode *motion_set);
void motion_pixel_onoff_get(motion_mode *motion_set);
void motion_tsen_set(motion_mode *motion_set);
void motion_psen_set(motion_mode *motion_set);
void motion_detection_get(motion_mode *motion_set);
#endif /* _MOTION_H_ */