]> git.cryptolib.org Git - avr-crypto-lib.git/blob - debug.h
c75dad6bd013e6cd64b3ee6cc369f79ede8d4b39
[avr-crypto-lib.git] / debug.h
1 #ifndef DEBUG_H_
2 #define DEBUG_H_
3
4 #ifdef DEBUG
5         #define DEBUG_INIT() debug_init()
6         #define DEBUG_C(_c) debug_char(_c)
7         #define DEBUG_S(_s) debug_str(_s)
8         #define DEBUG_B(_b) debug_byte(_b)
9 #else
10         #define DEBUG_INIT()
11         #define DEBUG_C(_c) 
12         #define DEBUG_S(_s) 
13         #define DEBUG_B(_b) 
14 #endif
15
16
17 void debug_init(void);
18 void debug_char(char);
19 void debug_str(char*);
20 void debug_byte(char);
21
22 #endif /*DEBUG_H_*/