Le_gpio_* APIs doesnot specify which pin they are related to. How do I specify this?


I am currently using le_gpioPinxx_* APIs for my GPIO needs. le_gpio_* are the ones specified in the online documentation; but these doesnot have any means to specify which pin we are referring to.
Eg: le_result_t le_gpio_SetInput (le_gpio_Polarity_t polarity)

We are setting the input; but with regards to which pin ? Is there a proper way to utilize these APIs I am missing ?



You can have a look on sample application gpioCf3Demo.
In the gpioCf3Demo.adef file, you can use “bindings” to specify which pin to be used.