You are here

DlnUartSetEventPeriod() Function

The DlnUartSetEventPeriod() function configures the event period for specified UART port.This function is defined in the dln_uart.h file.

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

A handle to the DLN-series adapter.

port

A number of the UART port to be configured.

period

Defines the event period for event in ms.

Return Value
DLN_RES_SUCCESS

The operation completed successfully and event period has been set.

User login