prim:sendConfig param: 0, 0, 0, 0, 0x10, 0, 0, 0, 0, 0x4000, 0, 1; * * struct SEND_CONFIG_IN { * UINT32 port, captureSerOn, moduleNum[2], chipNum, * setLinks, restore, structId, groupId, dataType, * activeOnly, enableDataTaking; * }; * * #define NO_CONFIG_LOOP 0 * #define NORMAL_CONFIG_LOOP 1 * #define OFF_ROD_CONFIG_LOOP 2 * * #if defined(SCT_ROD) * #define CONFIG_MODULE_BASIC 0 * #define CONFIG_MODULE_TRIM 1 * #define CONFIG_MODULE_ALL 2 * * #elif defined(PIXEL_ROD) * //Pixel additive bitwise definitions; the 1st 14 correspond to the bit * //definitions in the pixel control register. * #define CONFIG_MODULE_ENABLE 0 * #define CONFIG_MODULE_SELECT 1 * #define CONFIG_MODULE_PREAMP 2 * #define CONFIG_MODULE_HITBUS 3 * * #define CONFIG_MODULE_TDAC_0 4 * ... #define CONFIG_MODULE_TDAC_4 8 * * #define CONFIG_MODULE_FDAC_0 9 * ... #define CONFIG_MODULE_FDAC_4 13 * * #define CONFIG_MODULE_GLOBAL 14 * #define CONFIG_MODULE_CONTROL 15 * #define CONFIG_MODULE_SCAN_TDAC 16 * #define CONFIG_MODULE_SCAN_FDAC 17 * #define CONFIG_MODULE_TDAC 18 * #define CONFIG_MODULE_FDAC 19 * * #define CONFIG_MODULE_ALL 20 * #endif * * * #define ALL_MODULES 0xfe * #define NO_MODULE 0xff * * #define MODULE_GROUP_0 0 * ... #define MODULE_GROUP_ALL 8 * #define N_MODULE_GROUPS (MODULE_GROUP_ALL) *