AnsweredAssumed Answered

the relationships between OSAL and the GPIO in SC589

Question asked by liangbread on Jul 14, 2016
Latest reply on Aug 5, 2016 by Kader.M

Hi everyone,


   The SC589 is new to  me.And I am learning the "Button_LED_GPIO_SC589_SHARC_Core1"examples as you may see in the attachment.


   The function "adi_osal_EnterCriticalRegion();" and "adi_osal_ExitCriticalRegion();" are called as you may see in the function of "adi_gpio_SetDirection()",which is used for setting the GPIO pin to an input or output direction.And the two functions about OSAL make me confused.Why ard the two function called here?What is the purpose?


     As I can not find any documentary description or even any information while I am searching OSAL in the "Help Contents" in CCES,I have to ask for help here.It will be appreciated for your helping me out of the question.


Best Regards,