The DlnGpioPinEnable() function connects a pin to the GPIO module.
A handle to a DLN-series adapter.
A number of the pin that you want to configure.
The function successfully connected the pin to the GPIO module.
The pin number is not valid. Use the DlnGpioGetPinCount() function to find the maximum possible pin number.
Another module uses the pin and the GPIO module cannot use it. Use the DlnGetPinCfg()function to get the name of module using the pin.
If you have not changed the configuration settings for the pin which you want to configure as a GPIO, it will have the default configuration. See Digital Input Events for details.
The DlnGpioPinEnable() function is declared in the dln_gpio.h file.