DlnGpioPinDisable() Function
Syntax
- C/C++
-
DLN_RESULT DlnGpioPinDisable( HDLN handle, uint8_t pin );
The DlnGpioPinEnable() function disables a pin as general purpose input/output.
Parameters:
- handle
- A handle to the DLN-series adapter.
- pin
- A number of the pin to be configured.
Results:
| Result | Description |
|---|---|
| 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.
2006-2012