You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
330 B
20 lines
330 B
2 years ago
|
/**
|
||
|
* @file
|
||
|
* @brief A simple way of dumping memory to a hex output
|
||
|
*
|
||
|
* \addtogroup Hexdump
|
||
|
*
|
||
|
* @{
|
||
|
*/
|
||
|
|
||
|
|
||
|
#include <stdio.h>
|
||
|
|
||
|
#define HEX_DUMP_LINE_BUFF_SIZ 16
|
||
|
|
||
|
extern void hex_dump(FILE * fp,void *src, int len);
|
||
|
extern void hex_dump_buff_line(FILE *fp, int addr_size, unsigned pos, char *line, unsigned len);
|
||
|
/**
|
||
|
* }@
|
||
|
*/
|