SERIAL INTERFACE DEVELOPERS GUIDE
LENS_CFG lens[4];
};
typedef struct _STATIC_CFG STATIC_CFG, *PTR_STATIC_CFG;
5.3.7 CMD_READ_STATIC_CFG
Description: Read Static Configuration from DSP Data flash and place into the scratch pad buffer.
Command Code: Enumeration for CMD_READ_STATIC_CFG
Argument Size: 0
Argument: Null
Note: Use the McbReadDataMem function to read data from scratch pad. See data structures above.
5.3.8 CMD_GET_CAMERA_TIME
Description: Read the Real Time Clock data and place into the scratch pad buffer. The time data is
read from the serial peripheral Dallas real time clock chip.
Command Code: Enumeration for CMD_GET_CAMERA_TIME
Argument Size: 0
Argument: Null
Note: Use the McbReadDataMem function to read data from scratch pad. Associated data structures
listed below:
/* 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;
5.3.9 CMD_SET_CAMERA_TIME
Description: Set the Real Time Clock data from values stored in the scratch pad buffer.
Command Code: Enumeration for CMD_SET_CAMERA_TIME
Argument Size: 0
Argument: Null
Note: Use the McbWriteDataMem function to move data into scratch pad. See data structures above.
5.3.10 CMD_GET_NVM_DATA
Description: Read a block of memory from the serial peripheral Dallas non-volatile memory (NVM) to
the scratch pad buffer. The NVM block is used to store dynamic configuration data for the camera
such as AGC/ALC mode, overlay mode, reticle position, active operation mode, active NUC table
index, and many other settings. These settings are used during the boot process to restore the
camera to a known state.
Command Code: Enumeration for CMD_GET_NVM_DATA
Argument Size: size of NVM_XFER
9