![]() |
RTEMS 6.3
|
Dump Buffer. More...
#include <stdio.h>#include <string.h>#include <ctype.h>#include <rtems/dumpbuf.h>#include <rtems/bspIo.h>Macros | |
| #define | HEX_FMT_LENGTH 3 |
| #define | ASCII_FMT_LENGTH 1 |
| #define | BYTES_PER_ROW 16 |
| #define | BARS 2 |
| #define | ROW_LENGTH (BYTES_PER_ROW * (HEX_FMT_LENGTH + ASCII_FMT_LENGTH) + BARS) |
Functions | |
| void | rtems_print_buffer (const unsigned char *buffer, const int length) |
Print length bytes from buffer, both in hex and ASCII. Printing will be done in rows, each showing BYTES_PER_ROW bytes. | |
Dump Buffer.