IBM ECS-320A Network Card User Manual


 
SERIAL INTERFACE DEVELOPERS GUIDE
COMP_SER_NUM fpaSupportBD;
COMP_SER_NUM calFlagAssy;
COMP_SER_NUM peripheral[4];
COMP_SER_NUM fpa;
UWord16 ReserveBlk_A[2];
}; /* Size = 32 Words */
typedef struct _PRODUCT_ID PRODUCT_ID, *PTR_PRODUCT_ID;
5.3.5 CMD_READ_PRODUCT_ID
Description: Read Product ID from DSP Data flash and place into the scratch pad buffer.
Command Code: Enumeration for CMD_READ_PRODUCT_ID
Argument Size: 0
Argument: Null
Note: Use the McbReadDataMem function to read data from scratch pad. See data structures above.
5.3.6 CMD_PROG_STATIC_CFG
Description: Program DSP Data flash with the Static Configuration. The static configuration data will
need to be written to the scratch pad (DSP memory location 0x00C0) before initiating this command.
The static configuration data is written to the DSP data flash starting at address 0x2020.
Command Code: Enumeration for CMD_PROG_STATIC_CFG
Argument Size: 0
Argument: Null
Note: Use the McbWriteDataMem function to move data into scratch pad. Associated data structures
listed below:
/* Cal Flag Servo Configuration Structure */
struct _CAL_FLAG_CFG
{
UWord16 PwmPeriodFctr;
UWord16 PwmCloseFctr;
UWord16 PwmOpenFctr;
};
typedef struct _CAL_FLAG_CFG CAL_FLAG_CFG, *PTR_CAL_FLAG_CFG;
/* Lens Mode Configuration Structure */
struct _LENS_CFG
{
/* 1st Word */
unsigned IDCode:8; /* Lens ID Code (Bits 0 - 7) */
unsigned FocusMode:4; /* Lens Focus Mode (Bits 8 - 11) */
unsigned ZoomMode:4; /* Lens Zoom Mode (Bits 12 - 15) */
/* 2nd Word */
unsigned BaseIndex:6; /* NUC Base Index (Bits 0 - 5) */
unsigned LimitIndex:6; /* NUC Limit Index (Bits 6 - 11) */
unsigned RsvdBits_A:4; /* Reserved (Bits 12 - 15) */
};
typedef struct _LENS_CFG LENS_CFG, *PTR_LENS_CFG;
/* Static Configuration Structure */
struct _STATIC_CFG
{
UWord16 RefClkRate;
UWord16 comCfg;
UWord16 dspVideo;
UWord16 procVideo;
CAL_FLAG_CFG calFlag;
UWord16 ReserveBlk_B[17];
8