Allows to print out data dumps of memory regions in hexadecimal or/and ASCII representation.
More...
Allows to print out data dumps of memory regions in hexadecimal or/and ASCII representation.
|
void | od_hex_dump (const void *data, size_t data_len, uint8_t width) |
| Dumps memory stored at data byte-wise up to data_len in hexadecimal representation to stdout. More...
|
|
◆ od_hex_dump()
void od_hex_dump |
( |
const void * |
data, |
|
|
size_t |
data_len, |
|
|
uint8_t |
width |
|
) |
| |
Dumps memory stored at data byte-wise up to data_len in hexadecimal representation to stdout.
If the pseudomodlue od_string
is used (USEMODULE += od_string
) the ASCII representation of data is also displayed.
- Parameters
-
[in] | data | Data to dump. |
[in] | data_len | Length in bytes of data to output. |
[in] | width | Number of bytes per line. If width is 0, OD_WIDTH_DEFAULT is assumed as a default value. |