SideLaser.h 1.6 KB
/**
 ********************************************************************
 * @file   SideLaser.h
 *         SideLaser.h 的头文件
 *
 *********************************************************************
 */

/* Define to prevent recursive inclusion 避免重定义 -------------------------------------*/
#ifndef SIDE_LASER_H
#define SIDE_LASER_H

/* Includes ------------------------------------------------------------------*/
#include "JZsdk_Base/JZsdk_Code/JZsdk_Code.h"

#ifdef __cplusplus
extern "C" {
#endif

/* Exported constants --------------------------------------------------------*/
/* 常亮定义*/

/*********
 * 
 *  激光模式结构体
 * 
 * **********/
typedef enum T_SideLaserMode
{
    SIDE_LASER_OFF = 0x0000,                //关闭
    SIDE_LASER_GREEN_AWALYS_ON = 0x0001,       //绿色常亮
    SIDE_LASER_RED_AWALYS_ON = 0x0002,          //红色常亮
    SIDE_LASER_GREEN_AND_RED_AWALYS_ON = 0x0003,    //红绿常亮
    SIDE_LASER_GREEN_ADD_RED_TOGETHER_FLICKER = 0x0004,     //红绿齐闪
    SIDE_LASER_GREEN_ADD_RED_ALTERNATION_FLICKER = 0x0005,   //红绿交替闪
}T_SideLaserMode;


/*********
 * 
 *  侧面激光参数
 * 
 * **********/
typedef enum SideLaserParam
{
    SIDELASER_REALMODE = 0x000000,
    SIDELASER_CONTROL = 0x000001,
    SIDELASER_MODE    = 0x000002,
}SideLaserParam;

/* Exported types ------------------------------------------------------------*/

/* Exported functions --------------------------------------------------------*/
T_JZsdkReturnCode SideLaser_param(int flagcode, enum SideLaserParam paramflag, int *value);
T_JZsdkReturnCode SideLaser_Init();

#ifdef __cplusplus
}
#endif

#endif