From 8d538b3935842204c7a545184df302958fc2015d Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Fri, 16 Oct 2015 21:56:42 +0000 Subject: stub adc on/off test code. Needs a pot on PA0, should get the temperature input working as well. --- shared/trace.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 shared/trace.h (limited to 'shared/trace.h') diff --git a/shared/trace.h b/shared/trace.h new file mode 100644 index 0000000..b18cc11 --- /dev/null +++ b/shared/trace.h @@ -0,0 +1,30 @@ +/* + * trace support + * Karl Palsson + */ + +#ifndef TRACE_H +#define TRACE_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +void trace_send_blocking8(int stimulus_port, char c); +void trace_send8(int stimulus_port, char c); + +void trace_send_blocking16(int stimulus_port, uint16_t val); +void trace_send16(int stimulus_port, uint16_t val); + +void trace_send_blocking32(int stimulus_port, uint32_t val); +void trace_send32(int stimulus_port, uint32_t val); + + +#ifdef __cplusplus +} +#endif + +#endif /* TRACE_H */ + -- cgit