|
theCore C++ embedded framework
|
UART driver. More...
#include </home/travis/build/forGGe/theCore/platform/tm4c/export/aux/uart.hpp>

Public Member Functions | |
| uart (const uart &)=delete | |
| uart & | operator= (uart &)=delete |
Static Public Member Functions | |
| static err | init () |
| Lazy initialization. More... | |
| static void | set_rx (uint8_t *rx, size_t size) |
| Sets rx buffer with given size. More... | |
| static void | set_tx (size_t size, uint8_t fill_byte=0xff) |
| Sets rx buffer made-up from sequence of similar bytes. More... | |
| static void | set_tx (const uint8_t *tx, size_t size) |
| Sets tx buffer with given size. More... | |
| static void | set_handler (const bus_handler &handler) |
| Sets event handler. More... | |
| static void | reset_buffers () |
| Reset xfer buffers. More... | |
| static void | reset_handler () |
| Resets previously set handler. More... | |
| static err | do_xfer () |
| Executes xfer, using buffers previously set. More... | |
| static err | cancel_xfer () |
| Cancels xfer. More... | |
Static Protected Member Functions | |
| static void | irq_bus_handler () |
| UART interrupt handler. More... | |
Friends | |
| void | bypass_console_init () |
| Bypass console routines, partially reuse UART driver code. More... | |
| void | bypass_putc () |
UART driver.
| ch | Peripheral channel to use with this driver |
|
friend |
Bypass console routines, partially reuse UART driver code.
|
friend |