synth/arm/fake_uart.h
Paul Mathieu f274749050 arm: add host uart driver tests
All host tests currently pass
Some async refactors may not work well on device, will try later
2023-06-02 23:33:01 -07:00

10 lines
184 B
C++

#pragma once
#include <cstdint>
#include <span>
#include "buffer.h"
buffer FakeUart_Drain(uint16_t size);
void FakeUart_Feed(std::span<const std::byte> data);
void FakeUart_Reset();