Tizen RT Public API
v1.1 D4
|
Iotbus APIs for UART. More...
#include <stdint.h>
Go to the source code of this file.
Typedefs | |
typedef struct _iotbus_uart_s * | iotbus_uart_context_h |
Pointer definition to the internal struct _iotbus_uart_s. More... | |
Enumerations | |
enum | iotbus_uart_parity_e |
Enumeration of UART parity type. More... | |
Functions | |
iotbus_uart_context_h | iotbus_uart_init (const char *path) |
initializes uart_context. More... | |
int | iotbus_uart_stop (iotbus_uart_context_h hnd) |
closes uart_context. More... | |
int | iotbus_uart_flush (iotbus_uart_context_h hnd) |
flushes uart buffer. More... | |
int | iotbus_uart_set_baudrate (iotbus_uart_context_h hnd, unsigned int baud) |
sets uart baud rate. More... | |
int | iotbus_uart_set_mode (iotbus_uart_context_h hnd, int bytesize, iotbus_uart_parity_e parity, int stopbits) |
sets byte size, parity bit and stop bits. More... | |
int | iotbus_uart_set_flowcontrol (iotbus_uart_context_h hnd, int xonxoff, int rtscts) |
set flow control settings. More... | |
int | iotbus_uart_read (iotbus_uart_context_h hnd, char *buf, unsigned int length) |
reads data over uart bus. More... | |
int | iotbus_uart_write (iotbus_uart_context_h hnd, const char *buf, unsigned int length) |
writes data over uart bus. More... | |
Iotbus APIs for UART.
Definition in file iotbus_uart.h.