Contiki 2.6
|
00001 #ifndef __DEBUG_UART_H__1V2039076V__ 00002 #define __DEBUG_UART_H__1V2039076V__ 00003 00004 #ifndef dbg_setup_uart 00005 #define dbg_setup_uart dbg_setup_uart_default 00006 #endif 00007 00008 void 00009 dbg_setup_uart(); 00010 00011 void 00012 dbg_set_input_handler(void (*handler)(const char *inp, unsigned int len)); 00013 00014 unsigned int 00015 dbg_send_bytes(const unsigned char *seq, unsigned int len); 00016 00017 00018 void 00019 dbg_putchar(const char ch); 00020 00021 void 00022 dbg_blocking_putchar(const char ch); 00023 00024 void 00025 dbg_drain(); 00026 00027 #endif /* __DEBUG_UART_H__1V2039076V__ */