mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-08 23:08:29 +00:00
28 lines
470 B
C
28 lines
470 B
C
|
#ifndef __DEBUG_UART_H__1V2039076V__
|
||
|
#define __DEBUG_UART_H__1V2039076V__
|
||
|
|
||
|
#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();
|
||
|
|
||
|
#endif /* __DEBUG_UART_H__1V2039076V__ */
|