mraa  0.6.0
Low Level Skeleton Library for Communication on GNU/Linux platforms
 All Data Structures Namespaces Files Functions Typedefs Enumerations Enumerator Pages
Public Member Functions
Uart Class Reference

Detailed Description

This file defines the UART interface for libmraa

Public Member Functions

 Uart (int uart)
 
 ~Uart ()
 
std::string getDevicePath ()
 

Constructor & Destructor Documentation

Uart ( int  uart)
inline

Uart Constructor, takes a pin number which will map directly to the linux uart number, this 'enables' the uart, nothing more

Parameters
uartthe index of the uart set to use

Here is the call graph for this function:

~Uart ( )
inline

Uart destructor

Member Function Documentation

std::string getDevicePath ( )
inline

Get string with tty device path within Linux For example. Could point to "/dev/ttyS0"

Returns
char pointer of device path

Here is the call graph for this function:


The documentation for this class was generated from the following file: