IBM ECS-320A Network Card User Manual


 
SERIAL INTERFACE DEVELOPERS GUIDE
Argument Size: size of NUC_MEM_XFER
Argument: See below.
struct _NUC_MEM_XFER{
UWord32 addr; // Address in NUC flash memory to read
UWord16 size; // Size in WORDS (Limit to 160)
};
typedef struct _NUC_MEM_XFER NUC_MEM_XFER, *PTR_NUC_MEM_XFER;
Note: Use the McbReadDataMem function to read data from scratch pad. Multiple calls of this
function would allow the host to read an entire set of NUC coefficients.
5.3.18 CMD_NUC_FLASH_TEST_PATTERN
Description: Debug command to tell the camera to write ramp count to the base blocks (10 – 14) of
the external NUC coefficient flash. The NUC coefficient flash is interfaced via the Xilinx FPGA.
Command Code: Enumeration for CMD_NUC_FLASH_TEST_PATTERN
Argument Size: 0
Argument: Null
Note: Used to help with the development and testing of the flash memory interface to the FPGA and
DSP.
5.3.19 CMD_TEC_DRV_ENABLE
Description: Enables or Disables the TEC Drive circuitry.
Command Code: Enumeration for CMD_TEC_DRV_ENABLE
Argument Size: UWord16
Argument: 0 – for disable, 1 – for enable
Note: Normally this operation would be controlled by settings in the NUC block descriptor table, but
can be overridden for test purposes.
5.3.20 CMD_TEC_TEMP_SELECT
Description: Select TEC Temperature state to high or low.
Command Code: Enumeration for CMD_TEC_TEMP_SELECT
Argument Size: UWord16
Argument: 0 – for low temp state, 1 – for high temp state
Note: Normally this operation would be controlled by settings in the NUC block descriptor table, but
can be overridden for test purposes.
5.3.21 CMD_CAL_FLAG_SERVO
Description: Calls the desired open servo, close servo, or set by factor routine. If the open or close
mode is commanded then the values from data flash are used to set the servo position. If the factor
mode is commanded then the factor supplied with the command packet will be used to set the
position.
Command Code: Enumeration for CMD_CAL_FLAG_SERVO
Argument Size: Size of SERVO_MODE.
Argument: See below.
/* Commanded Servo Setting Structure */
12