summaryrefslogtreecommitdiff
path: root/shared/trace.h
blob: b18cc1179b1569cc3df521ceb246653ce6223964 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* 
 * 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 */