S
ERIAL
I
NTERFACE
D
EVELOPERS
G
UIDE
Appendix A - Camera Configuration Data Structures
/*
Current Camera Configuration Information Structure:
This structure will contain information about the camera that will be useful for standard
operation as well as for the remote user to have access. Therefore this data structure is fixed
in memory so that the info is always available via PCMaster.
*/
struct _CAMERA_CONFIG
{
/* NVM Config Data for Global Access */
NVM_GLOBAL_CFG
nvmData;
/*
40
Words
*/
/* NVM Data Update Flag */
UWord16
updateNVM;
/*
1
Word
*/
/* Debug Values for Development Platform */
UWord16
continueFlag;
/* 1 Word */
UWord16
CmdsReceived;
/* 1 Word */
/* Camera Status Codes */
CAMERA_STATUS
camStats;
/*
4
Words
*/
/* Camera Error Codes */
CAMERA_ERRORS
camErrors;
/*
8
Words
*/
/* Current camera time */
RTC_DATA
camTime;
/*
7
Words
*/
/* Mirror of Output Port Expansion Register */
UWord16
expPort;
/*
1
Word
*/
/* Software Version */
UWord16
swVersion;
/*
1
Word
*/
/* Software Build */
UWord16
swBuild;
/*
1
Word
*/
/* FPGA Proc Version */
UWord16
fpgaVersion[2];
/*
2
Words
*/
/* FPA Dimensions */
IMAGE_SIZE
fpaSize;
/*
2
Words
*/
/* Global AGC Parameters */
UWord16
agcLowIntensity;
/*
1
Word
*/
UWord16
agcHighIntensity;
/* 1 Word */
/* Op Mode Name */
UWord16
actOpName[4];
/*
4
Words
*/
/* Nuc Mode Name */
UWord16
actNucName[4];
/*
4
Words
*/
/* Misc Index Values */
UWord16
bitFieldIndex;
/*
1
Word
*/
// fanSpeedIndex:3;
/* Fan Speed Index, (Bits 0 - 2) */
// baseNuc:6;
/* Base NUC table, (Bits 3 - 8) */
// limitNuc:6;
/* Limit NUC table, (Bits 9 - 14) */
// noRefresh:1;
/* Lock out refresh, (Bit 15) */
/* Radiometric Softwre Data */
UWord16
radSWInfo;
/*
1
Word
*/
/* Camera alarm state info data */
UWord16
alarm; /*
1
Word
*/
44