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.

GPIO function while using DVSDK



Hi:

I am now successfully working with some example in DVSDK.

Now I want to use GPIOs in my code ,but I don't know how to use it .

Could anyone provide me some simple example to let me know the method ?

 for(i = 0; i < NumOfIterations; i++)
    {
        if (IOM_COMPLETED == FVID_exchange(ccdcHandle, &FBAddr))
        {
            GPIO[xx]=1;  <<<something like this .

        }

       else          

            PREV_APP_PRINT("VPSS: Error in Video 0 Exchange\r\n");
        if (IOM_COMPLETED != FVID_exchange(vid0Handle, &FBAddr))
        {
            PREV_APP_PRINT("VPSS: Error in Video 0 Exchange\r\n");
        }
     
    }