MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / uart_receive_loopback

Function uart_receive_loopback

core/uart.c:58–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58static bool uart_receive_loopback(uart_transfer_t* transfer) {
59 if (!loopback_available) {
60 return false;
61 }
62
63 *transfer = loopback_transfer;
64 loopback_available = false;
65 return true;
66}
67
68static void uart_transmit_null(const uart_transfer_t* transfer) {
69 (void)transfer;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected