initial mc1322x commit
based on commit aac3a355451d899f02737f2907af8c874ee4feba of git://git.devl.org/git/malvira/contiki-mc1322x.git
This commit is contained in:
parent
a453acd325
commit
1145fa9ba9
23 changed files with 1782 additions and 0 deletions
27
cpu/mc1322x/debug-uart.h
Normal file
27
cpu/mc1322x/debug-uart.h
Normal file
|
@ -0,0 +1,27 @@
|
|||
#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__ */
|
Loading…
Add table
Add a link
Reference in a new issue