Contiki 3.x
Files | Functions
Debug IO over UART

Files

file  dbg.c
 Function implementations for debug io module.
 
file  dbg.h
 Header file for the debug module.
 
file  debug-uart.h
 A header file to maintain compatibility with DBG I/O.
 

Functions

unsigned int dbg_send_bytes (const unsigned char *seq, unsigned int len)
 Print a stream of bytes. More...
 
int dbg_putchar (int c)
 Print a character to debug output. More...
 

Detailed Description

Function Documentation

int dbg_putchar ( int  c)

Print a character to debug output.

Parameters
cCharacter to print
Returns
Printed character

Definition at line 63 of file dbg.c.

Referenced by dbg_send_bytes().

unsigned int dbg_send_bytes ( const unsigned char *  seq,
unsigned int  len 
)

Print a stream of bytes.

Parameters
seqA pointer to the stream
lenThe number of bytes to print
Returns
The number of printed bytes

Definition at line 47 of file dbg.c.