mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-05 04:05:34 +00:00
34 lines
606 B
C
34 lines
606 B
C
#ifndef DEBUG_UART_H_1V2039076V__
|
|
#define DEBUG_UART_H_1V2039076V__
|
|
|
|
|
|
void
|
|
dbg_setup_uart();
|
|
|
|
void
|
|
dbg_set_input_handler(void (*handler)(const char *inp, unsigned int len));
|
|
|
|
unsigned int
|
|
dbg_send_bytes(const unsigned char *seq, unsigned int len);
|
|
|
|
#if 0
|
|
void
|
|
dbg_printf(const char *format, ...)
|
|
__attribute__ ((__format__ (__printf__, 1,2)));
|
|
|
|
void
|
|
dbg_blocking_printf(const char *format, ...)
|
|
__attribute__ ((__format__ (__printf__, 1,2)));
|
|
#endif
|
|
|
|
void
|
|
dbg_putchar(const char ch);
|
|
|
|
void
|
|
dbg_blocking_putchar(const char ch);
|
|
|
|
void
|
|
dbg_drain();
|
|
|
|
#endif /* DEBUG_UART_H_1V2039076V__ */
|