as you know, my program used DSP/BIOS file called xxx.tcf, while now I want to my program *.c file reference some var defined in xxx.tcf, such as bios.GBL.CLKIN=24Mhz.
how can I realize it?
anybody, thank you!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
as you know, my program used DSP/BIOS file called xxx.tcf, while now I want to my program *.c file reference some var defined in xxx.tcf, such as bios.GBL.CLKIN=24Mhz.
how can I realize it?
anybody, thank you!
Thomas,
how you access properties defined in the configuration script depends on which variable you are accessing. For bios.GBL.CLKIN, you can call the C function GBL_getClkin(Void) to get the required value. In other cases, you would do something else. Let me know if CLKIN is the only value you need, or you need to access others.