stm32f103
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
uart_device.h File Reference
#include <cstdint>
#include <array>
#include <functional>
#include "config.h"
#include "uart.h"
Include dependency graph for uart_device.h:

Go to the source code of this file.

Classes

class  UartDevice
 Implements device-level abstraction for UART devices. More...
 
struct  UartDevice::Config
 Configuration for UART device. More...
 

Functions

void UartDeviceTriggerListener (const uint8_t uart_port, const char data)
 Bridging function between IRQ Handler and external user-defined listener. More...
 

Function Documentation

void UartDeviceTriggerListener ( const uint8_t  uart_port,
const char  data 
)

Bridging function between IRQ Handler and external user-defined listener.

Parameters
uart_portUART Port triggered
dataData sent to uart_port