FastArduino  v1.8
C++ library to build fast but small Arduino/AVR projects
uart_commons.h File Reference

Common definitions for serial API. More...

#include <stdint.h>
Include dependency graph for uart_commons.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  serial::UARTErrors
 Holder of latest UART errors. More...
 

Namespaces

 serial
 Defines all API for UART features.
 

Enumerations

enum  serial::Parity : uint8_t {
  serial::Parity::NONE = 0,
  serial::Parity::EVEN = 1,
  serial::Parity::ODD = 3
}
 Parity used for serial transmission. More...
 
enum  serial::StopBits : uint8_t {
  serial::StopBits::ONE = 1,
  serial::StopBits::TWO = 2
}
 Number of stop bits used for serial transmission. More...
 
enum  serial::BufferHandling : uint8_t {
  serial::BufferHandling::KEEP = 0x00,
  serial::BufferHandling::CLEAR = 0x01,
  serial::BufferHandling::FLUSH = 0x02
}
 How the TX/RX buffer should be handled when ending transmission (see end() methods) on UATX/UARX. More...
 

Detailed Description

Common definitions for serial API.

Definition in file uart_commons.h.