libyggdrasil
v1.0.0
|
UART implementation for Asgard. More...
#include <uart.hpp>
Static Public Member Functions | |
static bool | init () |
Init function. More... | |
static bool | deinit () |
Deinit function. More... | |
static void | receive (std::string &buffer) |
UART receive string. More... | |
template<size_t N> | |
static void | receive (std::array< u8, N > &buffer) |
UART receive. More... | |
static void | transmit (std::string_view buffer) |
UART transmit string. More... | |
template<size_t N> | |
static void | transmit (const std::array< u8, N > &buffer) |
UART transmit. More... | |
UART implementation for Asgard.
BaseAddress | UART Block base address |
|
inlinestatic |
Deinit function.
|
inlinestatic |
Init function.
|
inlinestatic |
|
inlinestatic |
UART receive string.
buffer | Buffer for the read string |
|
inlinestatic |
|
inlinestatic |
UART transmit string.
buffer | Buffer for the string to write |