The DlnGpioPinGetSupportedEventTypes() function returns all event types supported for the specified pin.
DlnGpioPinGetSupportedEventTypes()
DLN_RESULT DlnGpioPinGetSupportedEventTypes( HDLN handle, uint16_t pin, DLN_GPIO_PIN_EVENT_TYPES* supportedEventTypes );
A handle to the DLN-series adapter.
A number of the pin for which you want to get the information.
The pointer to the DLN_GPIO_PIN_EVENT_TYPES structure that is filled by the supported event types. After the function execution, the structure fields include the following information:
count
The number of available event types.
eventTypes[8]
eventTypes
An 8-element array. Each element corresponds to one of the supported event types.
The function was successful.
The pin number is not valid. Use the DlnGpioGetPinCount() function to find the maximum possible pin number.
The DlnGpioPinGetSupportedEventTypes() function is declared in the dln_gpio.h file.
dln_gpio.h