The DlnGpioPinPulldownIsEnabled() function informs whether an embedded pull-down resistor is active for the specified pin.
A handle to the DLN-series adapter.
The number of the pin from which you want to retrieve information.
A pointer to an unsigned 8-bit integer. After the function execution, the integer is set to the current state of a pull-down resistor.
The function successfully retrieved the current state of the pull-down resistor.
The pin number is not valid. Use the DlnGpioGetPinCount() function to find the maximum possible pin number.
The DLN adapter does not support pull-down resistors.
The DlnGpioPinPulldownIsEnable() function is declared in the dln_gpio.h file.