DlnGpioGetPinCount() Function
DLN_RESULT DlnGpioGetPinCount(
HDLN handle,
uint16_t* count
);
The DlnGpioGetPinCount() function retrieves the total number of GPIO pins available in the DLN-series adapter.
Parameters:
- handle
- A handle to the DLN-series adapter.
- count
- A pointer to an unsigned 16-bit integer. This integer will be filled with the number of available pins after the function execution.
Results:
| Result | Description |
|---|---|
| DLN_RES_SUCCESS | GPIO pin count has been successfully retrieved. |
This function is defined in the dln_gpio.h file.
2006-2012