Вы здесь

DlnUartGetStopbits() Function

The DlnUartGetStopbits() function retrieves the current number of stop bits to be sent with each character.This function is defined in the dln_uart.h file.

Syntax
C/C++
DLN_RESULT DlnUartGetStopbits(
    HDLN handle, 
    uint8_t port, 
    uint8_t *stopbits
);
Parameters
handle

A handle to the DLN-series adapter.

port

A number of the UART port to be configured.

stopbits

The pointer to uint8_t type variable. Variable will be filled with current stop bit value.

Return Value
DLN_RES_SUCCESS

The operation completed successfully and stop bit value has been retrieved.

Языки

Вход на сайт