The DlnUartGetPortCount() function retrieves the total number of the UART ports available in your DLN-series adapter.
This function is defined in the dln_uart.h file.
A handle to the DLN-series adapter.
A pointer to an unsigned 8-bit integer. This integer will be filled with the number of available ports after function execution.
The UART port count has been successfully retrieved.