Contiki-NG
Files | Functions

Files

file  dbg-arch.c
 Debug driver for the nRF.
 

Functions

unsigned int dbg_send_bytes (const unsigned char *s, 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

◆ dbg_putchar()

int dbg_putchar ( int  c)

Print a character to debug output.

Parameters
cCharacter to print
Returns
Printed character

Definition at line 71 of file dbg-arch.c.

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