DLN_RESULT DlnGpioPinDisable( HDLN handle, uint8_t pin );
DlnGpioPinEnable() function disables a pin as general purpose input/output.
- A handle to the DLN-series adapter.
- A number of the pin to be configured.
|DLN_RES_SUCCESS||The pin has been successfully disabled.|
|DLN_RES_INVALID_PIN_NUMBER||Invalid pin number was specified.|
|DLN_RES_PIN_IN_USE||Pin is not assigned to GPIO module of the adapter and cannot be disabled as GPIO.|
This function is defined in the dln_gpio.h file.