DlnUartGetSupportedStopbits() Function

The DlnUartGetSupportedStopbits() function returns all supported stop bits values. This function is defined in the dln_uart.h file.

Syntax
C/C++
DLN_RESULT DlnUartGetSupportedStopbits(
    HDLN handle, 
    uint8_t port, 
    DLN_UART_STOPBITS *supportedStopbits
);
Parameters
handle

A handle to the DLN-series adapter.

port

UART port number.

supportedStopbits

The pointer to DLN_UART_STOPBITS structure which will be filled by supported stop bits values.

Return Value
DLN_RES_SUCCESS

Function was successfully executed.