BlackUART.h File Reference
#include "../BlackCore.h"
#include <string>
#include <fstream>
#include <cstdint>
#include <unistd.h>
#include <fcntl.h>
#include <termios.h>
Include dependency graph for BlackUART.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  BlackLib::BlackUartProperties
 Holds properties of UART. More...
 
class  BlackLib::BlackUART
 Interacts with end user, to use UART. More...
 

Namespaces

 BlackLib
 

Enumerations

enum  BlackLib::uartName {
  BlackLib::UART1 = 1,
  BlackLib::UART2 = 2,
  BlackLib::UART4 = 4,
  BlackLib::UART5 = 5
}
 
enum  BlackLib::baudRate {
  BlackLib::Baud0 = 0,
  BlackLib::Baud50 = 1,
  BlackLib::Baud75 = 2,
  BlackLib::Baud110 = 3,
  BlackLib::Baud134 = 4,
  BlackLib::Baud150 = 5,
  BlackLib::Baud200 = 6,
  BlackLib::Baud300 = 7,
  BlackLib::Baud600 = 8,
  BlackLib::Baud1200 = 9,
  BlackLib::Baud1800 = 10,
  BlackLib::Baud2400 = 11,
  BlackLib::Baud4800 = 12,
  BlackLib::Baud9600 = 13,
  BlackLib::Baud19200 = 14,
  BlackLib::Baud38400 = 15
}
 
enum  BlackLib::parity {
  BlackLib::ParityNo = 0,
  BlackLib::ParityOdd = 1,
  BlackLib::ParityEven = 2,
  BlackLib::ParityDefault = -1
}
 
enum  BlackLib::characterSize {
  BlackLib::Char5 = 5,
  BlackLib::Char6 = 6,
  BlackLib::Char7 = 7,
  BlackLib::Char8 = 8,
  BlackLib::CharDefault = 0
}
 
enum  BlackLib::stopBits {
  BlackLib::StopOne = 1,
  BlackLib::StopTwo = 2,
  BlackLib::StopDefault = -1
}
 
enum  BlackLib::uartApplyMode {
  BlackLib::ApplyNow = 0,
  BlackLib::ApplyDrain = 1,
  BlackLib::ApplyFlush = 2
}