FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
Loading...
Searching...
No Matches
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

namespace  serial
 Defines all API for UART features.
 

Enumerations

enum class  serial::Parity : uint8_t {
  serial::NONE = 0 ,
  serial::EVEN = 1 ,
  serial::ODD = 3
}
 Parity used for serial transmission. More...
 
enum class  serial::StopBits : uint8_t {
  serial::ONE = 1 ,
  serial::TWO = 2
}
 Number of stop bits used for serial transmission. More...
 
enum class  serial::BufferHandling : uint8_t {
  serial::KEEP = 0x00 ,
  serial::CLEAR = 0x01 ,
  serial::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.