|
microfmt
Zero-allocation C++ formatting for constrained environments
|
Zero-allocation controller targeting the ARM PrimeCell PL011 UART. More...
#include <pl011_sink.hpp>
Public Member Functions | |
| constexpr | pl011_sink (uintptr_t base_addr, bool translate_crlf=true) noexcept |
| Constructs a PL011 UART controller. | |
| void | enable () const noexcept |
| Optional hardware initialization helper. | |
| constexpr sink | as_sink () const noexcept |
Returns a type-erased microfmt::sink view over this controller instance. | |
Zero-allocation controller targeting the ARM PrimeCell PL011 UART.
Commonly mapped at 0x09000000 on QEMU virt and standard ARM development boards. Use .as_sink() to obtain a type-erased microfmt::sink for formatting pipelines.
|
inlineexplicitconstexprnoexcept |
Constructs a PL011 UART controller.
| base_addr | Memory-mapped base address of the PL011 controller |
| translate_crlf | Whether to automatically expand \n to \r\n for terminal compatibility. |
|
inlineconstexprnoexcept |
Returns a type-erased microfmt::sink view over this controller instance.
|
inlinenoexcept |
Optional hardware initialization helper.