2013-11-24 15:57:08 +00:00
|
|
|
#ifndef DEBUG_UART_H_1V2039076V__
|
|
|
|
#define DEBUG_UART_H_1V2039076V__
|
2009-07-12 15:52:28 +00:00
|
|
|
|
|
|
|
#ifndef dbg_setup_uart
|
|
|
|
#define dbg_setup_uart dbg_setup_uart_default
|
|
|
|
#endif
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
dbg_putchar(const char ch);
|
|
|
|
|
|
|
|
void
|
|
|
|
dbg_blocking_putchar(const char ch);
|
|
|
|
|
|
|
|
void
|
|
|
|
dbg_drain();
|
|
|
|
|
2013-11-24 15:57:08 +00:00
|
|
|
#endif /* DEBUG_UART_H_1V2039076V__ */
|