DlnGpioPinOpendrainDisable() Function

Syntax

C/C++
 DLN_RESULT DlnGpioPinOpendrainDisable(
    HDLN handle,
    uint8_t pin
 );
     

The DlnGpioPinOpendrainDisable() disables Open Drain mode for the specified pin.

Parameters:

handle
A handle to the DLN-series adapter.
pin
A number of the pin to be configured.

Results:

Result Description
DLN_RES_SUCCESS Open drain mode has been successfully disabled.
DLN_RES_INVALID_PIN_NUMBER Invalid pin number was specified.

This function is defined in the dln_gpio.h file.