Contiki-NG
Loading...
Searching...
No Matches
Portable debugging output functons

Files

file  dbg.h
 Header file for the dbg-io module.
 

Functions

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

Detailed Description

Function Documentation

◆ dbg_putchar()

int dbg_putchar ( int c)

Print a character to debug output.

Parameters
cCharacter to print
Returns
Printed character

Definition at line 54 of file dbg.c.

References cc26xx_uart_write_byte(), uart0_write(), and uart_write().

Referenced by dbg_send_bytes().

◆ 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 79 of file dbg.c.

References cc26xx_uart_busy(), cc26xx_uart_write_byte(), dbg_putchar(), uart0_write(), and uart_write().