wifiiot_uart_ex.h

Overview

Related Modules:

Wifiiot

Description:

Declares the extended UART interface functions.

These functions are used to obtain UART attributes and check the busy status.

Since:

1.0

Version:

1.0

Summary

Functions

Function Name Description
UartIsBufEmpty (WifiIotUartIdx id, unsigned char empty) unsigned int Checks whether the buffer on a UART device is empty.
UartWriteImmediately (WifiIotUartIdx id, const unsigned char data, unsigned int dataLen) int Writes data to be sent to a UART device in polling mode.
UartGetAttribute (WifiIotUartIdx id, WifiIotUartAttribute attr, WifiIotUartExtraAttr extraAttr) unsigned int Obtains UART attributes.
UartIsBusy (WifiIotUartIdx id, unsigned char *busy) unsigned int Checks whether the buffer on a UART device is busy.