Contiki 2.5
debug-uart.h
1 #ifndef __DEBUG_UART_H__1V2039076V__
2 #define __DEBUG_UART_H__1V2039076V__
3 
4 
5 void
6 dbg_setup_uart();
7 
8 void
9 dbg_set_input_handler(void (*handler)(const char *inp, unsigned int len));
10 
11 unsigned int
12 dbg_send_bytes(const unsigned char *seq, unsigned int len);
13 
14 #if 0
15 void
16 dbg_printf(const char *format, ...)
17  __attribute__ ((__format__ (__printf__, 1,2)));
18 
19 void
20 dbg_blocking_printf(const char *format, ...)
21  __attribute__ ((__format__ (__printf__, 1,2)));
22 #endif
23 
24 void
25 dbg_putchar(const char ch);
26 
27 void
28 dbg_blocking_putchar(const char ch);
29 
30 void
31 dbg_drain();
32 
33 #endif /* __DEBUG_UART_H__1V2039076V__ */