Hi
I am using the DM648 EVM and can't figure out what code strips of the "/A" in "/VP0CAPTURE/A/0". The example I am looking at is psp_bios_vport_sd_loopback.c. The code sets up the cap strings for each port:
Int8 *vPortCapStrings[MAX_CAP_CHAN] =
{
"/VP0CAPTURE/A/0", // Created in dm648_vport0.tci
"/VP0CAPTURE/B/1",
"/VP2CAPTURE/A/2",
"/VP2CAPTURE/B/3",
"/VP3CAPTURE/A/4",
"/VP3CAPTURE/B/5",
"/VP4CAPTURE/A/6",
"/VP4CAPTURE/B/7"
};
and then in tvp5154.c: TVP5154_open(), it parses only the "/" and "0" of the string.
/* Check if the address is correct */
if (devName[0] != '/')
{
handle = (_TVP5154_chanObj *)NULL;
}
else
{
chanNum = (Int32)(devName[1] - '0');
/* assigning channel object structure */
What ate the "/A" and "/B"? Is that part of the BIOS code that is not available to view?
Thanks