synth/arm/trace.h
2022-05-16 20:59:17 -07:00

18 lines
249 B
C++

#pragma once
#include <cstdint>
namespace tracing {
enum class TraceEvent : uint8_t {
kUnknown = 0,
kUartIsr,
kUartRxCb,
kUartTxCb,
};
void trace(TraceEvent event);
void trace(int raw_event);
void dump();
} // namespace tracing