Справочник Пользователя для IBM ECS-320A

Скачать
Страница из 63
S
ERIAL 
I
NTERFACE 
D
EVELOPERS 
G
UIDE
 
 
Command Code: Enumeration for CMD_WRITE_VID_ENC_REG 
Argument Size: size of 2 * UWord16 
Argument: 1
P
st
P
 UWord16 – offset, 2
P
nd
P
 UWord16 – data.  The offset term is relative to the video encoder 
mode 0 register.  In other words if a value of 0 is supplied as the offset then data will be written to the 
mode 0 register. 
Note: This command is intended for development purposes and should not be used for normal 
operation. 
5.3.34 CMD_PERFORM_TEST  
Description:  Perform test specified by argument in command packet.  
Command Code: Enumeration for CMD_PERFORM_TEST 
Argument Size: UWord16 
Argument: Index from enumeration below. 
enum 

 
TEST_REGISTERS = 0, 
 TEST_OPERATIONAL, 
 TEST_MEMORY, 
 
 
TEST_UNDEFINED 
}; 
 
Note: After issuing a test command it is necessary to delay for several seconds until the camera has 
completed testing.  Then the results can be obtained by reading the global configuration structure 
member ‘CAMERA_ERRORS’ (see 
X
Appendix A
X
). 
5.3.35 CMD_OVERLAY_REFRESH  
Description:  Command to perform a refresh of the symbology overlay.  
Command Code: Enumeration for CMD_OVERLAY_REFRESH 
Argument Size: 0 
Argument: Null 
Note: Erases contents of overlay memory and sets flag so that all objects are repainted. 
5.3.36 CMD_FREEZE_IMAGE  
Description:  Command to (un)freeze display imagery.  
Command Code: Enumeration for CMD_FREEZE_IMAGE 
Argument Size: UWord16 
Argument: 0 – normal imagery, 1 – freeze image 
Note: none. 
5.3.37 CMD_DETECT_BAD_PIXELS  
Description:  Command to initiate a defective pixel detection routine.  
Command Code: Enumeration for CMD_DETECT_BAD_PIXELS 
Argument Size: 0 
Argument: Null 
16