void SPORT_FOR_ADF7242() { *pREG_PADS0_DAI0_IE=(unsigned int)0x1FFFFF; *pREG_PADS0_DAI1_IE=(unsigned int)0x1FFFFF; SRU2(HIGH, DAI1_PBEN03_I); SRU2(HIGH, DAI1_PBEN04_I); SRU2(HIGH, DAI1_PBEN01_I); SRU2(LOW, DAI1_PBEN02_I); SRU2(SPT4_ACLK_O, DAI1_PB03_I); SRU2(SPT4_AFS_O, DAI1_PB04_I); SRU2(SPT4_AD0_O, DAI1_PB01_I); SRU2(DAI1_PB02_O, SPT4_BD0_I); SRU2(SPT4_ACLK_O, SPT4_BCLK_I); SRU2(SPT4_AFS_O, SPT4_BFS_I); }
And that is something I do not understand how to do and something I cannot find any examples on...
I have only found some examples in ADSP-2156x_EZ-KIT-Rel1.0.1 (unrelated to my SHARC) and I am not sure that piece of code is portable to SC589...