GPIO configuration services

GPIO configuration API Reference

This API is used by apps to provide user info on general-purpose digital input/output pins. The following functions are used to get the informatin on GPIO configuration:

  • GetTotalPinNumber() - Returns total available number of GPIO pins inti he system
  • IsAvailable() - Is the GPIO available
  • GetSupportedGpioList() - Returns the list of available GPIO pins

Using Bindings

To create a binding from your app to pin 22 of the GPIO service, add something like this to your .adef binding section:

    gpioServiceTest.gpioServiceTestComponent.le_gpioCfg -> gpioService.le_gpioCfg