synth/arm/trace.h

18 lines
249 B
C
Raw Normal View History

2022-05-17 03:56:25 +00:00
#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