DlnGpioPortGetCfg() Function

DLN_RESULT DlnGpioPortGetCfg(
    HDLN handle,
    uint8_t port,
    DLN_GPIO_PORT_CONFIG* config
 );

The DlnGpioPortGetCfg() function retrieves current configuration of the GPIO pins from the specified port.

Parameters:

handle
A handle to the DLN-series adapter.
port
A port to get configuration for.
config
A pointer to the DLN_GPIO_PORT_CONFIG structure, which will be filled with the configuration after function execution.

Results:

Result Description
DLN_RES_SUCCESS GPIO port configuration has been successfully retrieved.

This function is defined in the dln_gpio.h file.