The DlnGpioPinGetEventCfg() function retrieves the current event configuration for the specified pin. For more information, read Digital Input Events.
DlnGpioPinGetEventCfg()
DLN_RESULT DlnGpioPinGetEventCfg( HDLN handle, uint8_t pin, uint8_t* eventType, uint16_t* eventPeriod );
A handle to the DLN-series adapter.
A number of the pin that you want to check.
A pointer to an unsigned 8-bit integer. After the function execution, this integer is set to the current event configuration of the pin.
A pointer to an unsigned 16-bit integer. After the function execution, this integer is set to the interval at which the specified events occur.
The function retrieved the event configuration successfully.
The pin number is not valid. Use the DlnGpioGetPinCount() function to find the maximum possible pin number.
The DlnGpioPinGetEventCfg() function is declared in the dln_gpio.h file.
dln_gpio.h