By default, the Open Drain Mode is disabled for all GPIO pins. The DlnGpioPinOpendrainEnable()
function enables the Open Drain Mode for the specified pin. If the pin is not assigned to the GPIO module, this configuration will be saved in the internal memory. When you assign the pin to the GPIO module, the saved configuration will be applied.
DLN-1 and DLN-2 adapters do not support the Open Drain mode.
The DlnGpioPinOpendrainEnable()
function is defined in the dln_gpio.h
file.