mraa
0.6.0
Low Level Skeleton Library for Communication on GNU/Linux platforms
|
UART is the Universal asynchronous receiver/transmitter interface to libmraa. It allows the exposure of UART pins on supported boards. With functionality to expand at a later date.
Go to the source code of this file.
Functions | |
mraa_uart_context | mraa_uart_init (int uart) |
char * | mraa_uart_get_dev_path (mraa_uart_context dev) |
Typedefs | |
typedef struct _uart * | mraa_uart_context |
mraa_uart_context mraa_uart_init | ( | int | uart | ) |
Initialise uart_context, uses board mapping
uart | the index of the uart set to use |
char* mraa_uart_get_dev_path | ( | mraa_uart_context | dev | ) |
Get Char pointer with tty device path within Linux For example. Could point to "/dev/ttyS0"
dev | uart context |