Hello all
I am working with the EVM648 .
Trying to write a program from scratch which doing simple RESET for the Video Ports .
I looked at this link in my installation :
C:\dvsdk_1_11_00_00_DM648\pspdrivers_1_10_00\packages\ti\sdo\pspdrivers\soc\dm648\dsp
And find the following files that may help with doing the reset .Files are :cslr_vport.h and cslr.h . I build these files in my project with includes to the C file .
At that files there Macro functions & descriptors and definition of the video port , BUT no information where To find the definition of the internal Macro elements .I mean I find at the
Cslr_vport.h this lines :
/* VP_CTL */
#define CSL_VPORT_VP_CTL_VPRST_MASK (0x00008000u)
#define CSL_VPORT_VP_CTL_VPRST_SHIFT (0x0000000Fu)
#define CSL_VPORT_VP_CTL_VPRST_RESETVAL (0x00000000u)
When complinig
The complier is reporting errors on the following line at my C program :
CSL_FINST(VD_CTL, VPRST, CSL_VPORT_VP_CTL_VPRST_MASK);
This code line has to do RESET to the port .Is it correct ?
Complier report :
"videoP648.c", line 137: error: identifier "VD_CTL" is undefined
"videoP648.c", line 137: error: identifier "CSL_VPRST_MASK" is undefined
"videoP648.c", line 137: error: identifier "CSL_VPRST_CSL_VPORT_VP_CTL_VPRST_MASK" is undefined
"videoP648.c", line 137: error: identifier "CSL_VPRST_SHIFT" is undefined
Questions
-------------
What is the way to find the right definition of internal macro element ?
What is the general way for all other registers ?
Thanks
Gideon