IBM ECS-320A Network Card User Manual


 
SERIAL INTERFACE DEVELOPERS GUIDE
5.3.29 CMD_GET_ADC_VALUES
Description: Command to retrieve the current value of all active ADC values. The data is placed into
the scratch pad buffer.
Command Code: Enumeration for CMD_GET_ADC_VALUES
Argument Size: 0
Argument: Null
Note: Use the McbReadDataMem function to read data from scratch pad. This command was added
for developmental purposes. The ADC channels read: ADC A Channels – 0 through 7, ADC B
Channels 0 – 3, 7.
5.3.30 CMD_ENABLE_RETICLE
Description: Enables or disables the selected reticle on the overlay symbology.
Command Code: Enumeration for CMD_ENABLE_RETICLE
Argument Size: size of RETICLE_XFER
Argument: See below.
struct _RETICLE_XFER {
unsigned select:1; // Select A (0) or B (1)
unsigned enable:1; // Reticle Enable
unsigned horPos:9; // Reticle Horizontal Position
unsigned size:4; // Reticle Radius
unsigned empty:1; // Open
unsigned emissivity:8; // Reticle Emissivity
unsigned verPos:8; // Reticle Vertical Position
};
typedef struct _RETICLE_XFER RETICLE_XFER, *PTR_RETICLE_XFER;
Note: The data contains all the data needed to enable the reticle on the desired screen location.
5.3.31 CMD_RETICLE_POSITION
Description: Move the selected reticle to desired location.
Command Code: Enumeration for CMD_RETICLE_POSITION
Argument Size: size of RETICLE_XFER
Argument: See paragraph
X5.3.30X.
Note: This command and CMD_ENABLE_RETICLE are functionally identical.
5.3.32 CMD_ONE_PT_UPDATE
Description: Perform a directed 1-point update calibration. Offset coefficients computed by the
calibration are stored in NUC flash (become part of the permanent NUC coefficient set).
Command Code: Enumeration for CMD_ONE_PT_UPDATE
Argument Size: UWord16
Argument: 0 – do not use internal calibration flag, 1 – use internal calibration flag.
Note: Since the 1 point update calibration may require placement of reference source, it is necessary
to implement this command in ‘sub-protocol’ form. See paragraph
X7.3X for details.
5.3.33 CMD_WRITE_VID_ENC_REG
Description: Command to write value to video encoder register.
15