DlnGetPinCfg()

  DLN_RESULT DlnGetPinCfg(
      HDLN handle,
      uint16_t pin,
      DLN_PIN_CFG* cfg
   );

The DlnGetPinCfg() function retrieves current configuration of the specified DLN-series adapter pin.

Parameters:

handle
A handle to the DLN-series adapter.
pin
A pin to get the configuration from.
config
A pointer to the DLN_PIN_CONFIG structure which will be filled with the configuration after function execution.

This function is defined in the dln_generic.h file.