/* AD9528 data structure initialization file */ #include #include "common.h" #include "t_ad9528.h" static ad9528pll1Settings_t clockPll1Settings = { 30720000, 1, 3, 0, 1, 0, 122880000, 2, 4 }; static ad9528pll2Settings_t clockPll2Settings = { 3, 30 }; static ad9528outputSettings_t clockOutputSettings = { 53237, {0,0,0,2,0,0,0,0,0,0,0,0,2,0}, {0,0,0,0,0,0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0,0,0,0,0}, {10,10,10,10,10,10,10,10,10,10,10,10,10,10}, {122880000, 122880000, 122880000, 122880000, 122880000, 122880000, 122880000, 122880000, 122880000, 122880000, 122880000, 122880000, 122880000, 122880000} }; static ad9528sysrefSettings_t clockSysrefSettings = { 0, 2, 0, 0, 0, 0, 512 }; static ad9528spiSettings_t clockSpiSettings = { 2, //chip select Index 0, //Write bit polarity 1, //16bit instruction word 1, //MSB first 0, //Clock phase 0, //Clock polarity 0, //uint8_t enSpiStreaming; 1, //uint8_t autoIncAddrUp; 1 //uint8_t fourWireMode; };