|
Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
|
Non-blocking hardware ISR adapter for DMA UART controllers. More...
#include <DmaUartAdapter.hpp>
Collaboration diagram for corium::embedded::DmaUartAdapter< EventVariant, BufferSize >:Public Member Functions | |
| DmaUartAdapter (EventSinkT< EventVariant > sink) noexcept | |
| template<typename TargetEvent > | |
| void | processFromIsr (std::size_t currentDmaWriteIndex, EventPriority priority=EventPriority::Normal) |
| Process newly received DMA bytes and post constructed event into sink. | |
| const DmaUartRxBuffer< BufferSize > & | rxBuffer () const noexcept |
| Access const circular DMA RX buffer. | |
| DmaUartRxBuffer< BufferSize > & | rxBuffer () noexcept |
| Access underlying circular DMA RX buffer. | |
Non-blocking hardware ISR adapter for DMA UART controllers.
|
inlineexplicitnoexcept |
|
inline |
Process newly received DMA bytes and post constructed event into sink.
| TargetEvent | User event constructible from std::span<const uint8_t>. |
| currentDmaWriteIndex | Hardware DMA write pointer position. |
| priority | Priority to assign to generated events. |
|
inlinenoexcept |
Access const circular DMA RX buffer.
|
inlinenoexcept |
Access underlying circular DMA RX buffer.