I am now reading Button_LED_GPIO example code of BF533 EZ-Kit Lite. In main(), i a reading some functions as below:
ADI_GPIO_RESULT result = adi_gpio_Init( (void*)gpioMemory, GPIO_MEMORY_SIZE, &gpioMaxCallbacks);
result = adi_gpio_EnableInterruptMask( PUSH_BUTTON1_PORT, PUSH_BUTTON1_PIN, PUSH_BUTTON1_INT_CHNL, true); CheckResult(result);
// register gpio callback result = adi_gpio_RegisterCallback( PUSH_BUTTON1_PORT, PUSH_BUTTON1_PIN, gpioCallback, (void*)0);
As my understanding, the functions: adi_gpio_Init(), EnableInterruptMask(), RegisterCallback() are the API function of BF533. I do not know my understanding is true or false ? Beside, i have search this functions, but i only found the definication of them. E.g: The definication of adi_gpio_Init() is as below:
ADI_GPIO_RESULT adi_gpio_SetDirection( ADI_GPIO_PORT const ePort, uint32_t const Pins, ADI_GPIO_DIRECTION const eDirection);
With this definication, i do now know about what is inside the function? How they work? Is there any document description detail about this functions ?
Moving to CrossCore Embedded Studio and Add-ins
Hello,You can find API documentation details in the below pathHelp > CrossCore® Embedded Studio 2.8.3 > System Run-Time Documentation > System Services and Device Drivers > ADSP-BF53x API Reference > Modules > GPIO Service.Go to system.svc in your project and add GPIO service driver for Blackfin Add-ins under system services. Now rebuild the project again.When you click(ctrl+ clicking) any API functions in the project, it will switch to the corresponding function definition in files.Otherwise while step into the debugging session,you can see the corresponding function definitions.Regards,Santha kumari.K
H i am using CCES version 2.9.1 and i can not fiind out the ADSP-BF53x API Reference. Could you help me to find out it ? And i have read the function description by clicking on the function but i think i need to read a more detail description (include example if could). Could you show me some document descript more detail about the functions and some examples about how to use them.
Hi,Could you please refer the attached screenshot to locate the GPIO reference document.Open CCES and go to help > help contents and then follow the steps as in screenshot.Also, you can find more details of the code by using the comments embedded with in the example source files.Regards,Nishanthi.V
Thank you, your answer is very helpful. i found it. And i have a question about ADSP-BF533 EZ-Lite Kit. I have posted it here:
Could you help me with this question?