theCore C++ embedded framework
uart_bus.hpp File Reference

Electron UART driver. More...

#include <common/bus.hpp>
#include <ecl/err.hpp>
#include <ecl/utils.hpp>
#include <ecl/assert.h>
#include <cstdint>
#include <unistd.h>
#include <functional>
#include <type_traits>
#include <atomic>
#include <application.h>
Include dependency graph for uart_bus.hpp:
This graph shows which files directly or indirectly include this file:

Data Structures

class  ecl::uart_bus< dev >
 Electron UART bus wrapper. More...
 

Namespaces

 ecl
 

Enumerations

enum  ecl::uart_device {
  ecl::uart_device::serial0, ecl::uart_device::serial1, ecl::uart_device::serial2, ecl::uart_device::serial4,
  ecl::uart_device::serial5
}
 Represents distinct peripheral devices According to the particle electron wiring and docs, there are no Serial3 device. More...
 

Detailed Description

Electron UART driver.

Based on Serial driver: https://docs.particle.io/reference/firmware/electron/#serial