wifiiot_uart.h
Overview
Related Modules:
Description:
Declares the UART interface functions.
These functions are used for UART initialization, data input/output, and data flow control.
Since:
1.0
Version:
1.0
Summary
Data Structures
| Data Structure Name | Description |
|---|---|
| WifiIotUartAttribute | Defines the basic attributes of a UART device. |
| WifiIotUartExtraAttr | Defines the extended attributes of a UART device. |
Enumerations
Functions
| Function Name | Description |
|---|---|
| UartInit (WifiIotUartIdx id, const WifiIotUartAttribute param, const WifiIotUartExtraAttr extraAttr) | unsigned int Configures a UART device. |
| UartRead (WifiIotUartIdx id, unsigned char data, unsigned int dataLen) | int Reads data from a UART device. |
| UartWrite (WifiIotUartIdx id, const unsigned char data, unsigned int dataLen) | int Writes data to a UART device. |
| UartDeinit (WifiIotUartIdx id) | unsigned int Deinitializes a UART device. |
| UartSetFlowCtrl (WifiIotUartIdx id, WifiIotFlowCtrl flowCtrl) | unsigned int Sets UART hardware flow control. |
