#ifndef _SYSTEM_SETUP_SPB_H_
#define _SYSTEM_SETUP_SPB_H_

#include "common.h"


#define SYSTEM_SETUP_CPB_USE_SHIFT		    0
#define SYSTEM_SETUP_CPB_USE_MASK		    0x00000001
/*
#define SYSTEM_SETUP_CPB_DOWN_SHIFT			2
#define SYSTEM_SETUP_CPB_DOWN_MASK			0x00000004
*/
typedef struct
{
    float   zoomMeasure;
    float   averageZoomMeasure;
    int     distanceFromCamera1X;
    int     distanceFromCamera1Y;
} TCameraInformation;

typedef struct
{
    unsigned short status;
    unsigned short speed;
} TCPBSystemSetup;


typedef struct {
    TCameraInformation camInfo;
	unsigned short countCPB;
	unsigned short minCPB;
	unsigned char captureSpeed;		// 0 : Half Capture Speed  1 : Full Capture Speed
	unsigned char dummy[3];

	TCPBSystemSetup CPB[SYSTEM_CPB_COUNT];
} TSPBSystemSetup;

#endif


