IBM ECS-320A Benutzerhandbuch

Seite von 63
S
ERIAL 
I
NTERFACE 
D
EVELOPERS 
G
UIDE
 
 
6.2.6 CameraConfig.camErrors  
Type: CAMERA_ERRORS 
/* Camera Error Code Structure */ 
struct _CAMERA_ERRORS 

 UWord16 
 ErrorCode; 
 /* 
Error 
Code 
*/ 
 
UWord16 
 
ErrorSubCode; 
/* Error Code */ 
 
UWord16 
 
ErrorCount;  
/* Additional errors after 1st */ 
 
UWord16 
 
ErrorData[5]; 
/* Error Data Array */ 
 
}; 
typedef struct _CAMERA_ERRORS CAMERA_ERRORS, *PTR_CAMERA_ERRORS; 
 
Size: 8 Words  
Description: Structure that contains various sub values for gathering information about errors that have 
occurred during testing and normal operation.  See paragraph 
X
6.6
X
 for information on the error code 
detection. 
6.2.7 CameraConfig.camTime  
Type: RTC_DATA 
/* Structure to hold time info from Real Time Clock */ 
struct _RTC_DATA 

 
UWord16 
 
seconds; 
/* 0 - 59 */ 
 
UWord16 
 
minutes; 
/* 0 - 59 */ 
 
UWord16 
 
hours; 
/* 0 - 23 */ 
 
UWord16 
 
day;   
/* 1 - 7 */ 
 
UWord16 
 
date;  
/* 1 - 31 */ 
 
UWord16 
 
month; 
/* 1 - 12 */ 
 
UWord16 
 
year;  
/* 0 - 99 (Add 2000 to get year) */ 
 
}; /* Size = 7 Words */ 
typedef struct _RTC_DATA RTC_DATA, *PTR_RTC_DATA;  
 
Size: 7 Words  
Description: Structure that contains the camera’s current time and date information.  Read only data 
member. 
6.2.8 CameraConfig.expPort  
Type: UWord16 
Size: 1 Word  
Description:  Shadow value of the output expansion port used by the embedded application.  Read 
only data member.  
6.2.9 CameraConfig.swVersion  
Type: UWord16 
Size: 1 Word  
Description:  Software version ID of the loaded embedded application.  Read only data member. 
6.2.10 CameraConfig.swBuild  
Type: UWord16 
Size: 1 Word  
22