GM6000 Digital Heater Controller Branch: main
SDX-1330
Classes | Namespaces | Macros
StreamDriver.h File Reference
#include "colony_config.h"
#include "Bsp/Api.h"
#include "Cpl/Container/RingBuffer.h"
#include "Cpl/System/Thread.h"
Include dependency graph for StreamDriver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Cpl::Io::Serial::ST::M32F4::StreamDriver
 This concrete class implements a non-busy-wait blocking Transmit/Receive Stream UART driver with a SOFTWARE FIFO. More...
 
struct  Cpl::Io::Serial::ST::M32F4::StreamDriver::HalMapping_T
 Used to map a HAL UART Handle to an instance of this class. More...
 

Namespaces

namespace  Cpl
 The 'Cpl' namespace is the root name space for the Colony.
 
namespace  Cpl::Io
 The Io namespace provides the base/common interfaces for reading and writing data from/to streams and files.
 
namespace  Cpl::Io::Serial
 The Serial namespace provides interfaces for accessing Serial types of devices using the Cpl::Io paradigm, aka file descriptors for Serial Ports.
 
namespace  Cpl::Io::Serial::ST
 The ST namespace provides interfaces for ST specific hardware, i.e.
 
namespace  Cpl::Io::Serial::ST::M32F4
 The M32F4 namespace provides implementation of the Cpl::Io::Output interface over a serial port using a STM32F4xxx MCU.
 

Macros

#define OPTION_CPL_IO_SERIAL_ST_M32F4_MAX_UARTS   1
 Maximum number of UARTs/instances that are supported.
 

Class Documentation

◆ Cpl::Io::Serial::ST::M32F4::StreamDriver::HalMapping_T

struct Cpl::Io::Serial::ST::M32F4::StreamDriver::HalMapping_T

Used to map a HAL UART Handle to an instance of this class.

Collaboration diagram for Cpl::Io::Serial::ST::M32F4::StreamDriver::HalMapping_T:
[legend]
Class Members
StreamDriver * driver Associated CPL driver instance.
UART_HandleTypeDef * halHandle HAL Handle of the UART.

Macro Definition Documentation

◆ OPTION_CPL_IO_SERIAL_ST_M32F4_MAX_UARTS

#define OPTION_CPL_IO_SERIAL_ST_M32F4_MAX_UARTS   1

Maximum number of UARTs/instances that are supported.