#ifndef __DEBUG_H__
#define __DEBUG_H__

#endif

#ifndef __VCNL3040_H__
#define __VCNL3040_H__

#include <stdlib.h>
#include <stdint.h>
#include "control_comm.h"
#include <stdbool.h>



typedef enum{
	PS_CONF1_2 				= 0X03,
	PS_CONF3_PS_MS 			= 0X04,
	PS_CANC 				= 0X05,
	PS_THDL 				= 0X06,
	PS_THDH					= 0X07,
	PS_DATA					= 0X08,
	PS_RES_INT_FLGA			= 0X0B,
	PS_ID					= 0X0C,
}ECommand_ID;

void VCNL3040_Init(u8 i2cAddress);
u16 VCNL3040_ReadBytes(ECommand_ID command);


#define  VCNL3040_Get_Current_Data()	VCNL3040_ReadBytes(PS_DATA)
#define  VCNL3040_GetID()				VCNL3040_ReadBytes(PS_ID)



#endif 


