olsndot/shared/trace.h
Karl Palsson 8d538b3935 stub adc on/off test code.
Needs a pot on PA0, should get the temperature input working as well.
2015-10-17 02:15:58 +00:00

30 lines
538 B
C

/*
* trace support
* Karl Palsson <karlp@tweak.net.au>
*/
#ifndef TRACE_H
#define TRACE_H
#include <stdint.h>
#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 */