The DlnGetPinCfg() function retrieves the current configuration of the specified pin of the DLN adapter.
DlnGetPinCfg()
DLN_RESULT DlnGetPinCfg( HDLN handle, uint16_t pin, DLN_PIN_CFG *cfg );
A handle to the DLN-series device.
A pin number.
A pointer to the DLN_PIN_CONFIG structure that receives the pin configuration.
DLN_PIN_CONFIG
The function successfully retrieved the pin configuration.
The pin number is not valid.
The DlnGetPinCfg() function is defined in the dln_generic.h file.
dln_generic.h