Вы здесь

DlnUartGetEventPeriod() Function

The DlnUartGetEventPeriod() function retrieves the current event period for specified UART port.This function is defined in the dln_uart.h file.

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

A handle to the DLN-series adapter.

port

A number of the UART port.

period

A pointer to an unsigned 32-bit integer. The integer will be filled with current event repeat interval after the function execution.

Return Value
DLN_RES_SUCCESS

The operation completed successfully and the current event period has been retrieved.

Языки

Вход на сайт