The DlnGpioPinEnable() function connects a pin to the GPIO module.
DlnGpioPinEnable()
DLN_RESULT DlnGpioPinEnable( HDLN handle, uint8_t pin );
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() [1] function to find the maximum possible pin number.
Another module uses the pin and the GPIO module cannot use it. Use the DlnGetPinCfg() [2]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 [3] for details.
The DlnGpioPinEnable() function is declared in the dln_gpio.h file.
dln_gpio.h
Links:[1] http://dlnware.com/dll/DlnGpioGetPinCount [2] http://dlnware.com/dll/DlnGetPinCfg-0 [3] http://dlnware.com/dll/Digital-Input-Events