DlnGpioPinPullupDisable() Function

DLN_RESULT DlnGpioPinPullupDisable(
    HDLN handle,
    uint8_t pin
 );

The DlnGpioPinPullupDisable() deactivates an embedded pull-up resistor for the specified pin.

Parameters:

handle
A handle to the DLN-series adapter.
pin
A number of the pin to disable a pull-up resistor for.

Results:

Result Description
DLN_RES_SUCCESS Pull-up resistor has been successfully deactivated.
DLN_RES_INVALID_PIN_NUMBER Invalid pin number was specified.

This function is defined in the dln_gpio.h file.