DLN_RESULT DlnGpioPinGetEventCfg( HDLN handle, uint8_t pin, uint8_t* eventType, uint16_t* eventPeriod );
DlnGpioPinGetEventCfg() function obtains current event generation conditions for the specified pin.
- A handle to the DLN-series adapter.
- A number of the pin to retrieve the information from.
- A pointer to an unsigned 8-bit integer. The integer will be filled with currently set event generation conditions for the pin after the function execution.
- A pointer to an unsigned 8-bit integer. The integer will be filled with current event repeat interval after the function execution.
|DLN_RES_SUCCESS||Event generation conditions were successfully retrieved.|
|DLN_RES_INVALID_PIN_NUMBER||Invalid pin number was specified.|
This function is defined in the dln_gpio.h file.