You are here

DlnUartGetBaudrate() Function

The DlnUartGetBaudrate() function retrieves the baud rate value, which represents the number of bits that are actually being sent.This function is defined in the dln_uart.h file.

Syntax
C/C++
DLN_RESULT DlnUartGetBaudrate(
    HDLN handle, 
    uint8_t port, 
    uint32_t *baudrate
);
Parameters
handle

A handle to the DLN-series adapter.

port

A number of the UART port.

baudrate

The current baud rate value.

Return Value
DLN_RES_SUCCESS

The operation completed successfully and baud rate has been retrieved.

User login