Object dump¶
Allows to print out data dumps of memory regions in hexadecimal or/and ASCII representation.
-
void
od_hex_dump(const void * data,msp430_types.h::size_tdata_len, uint8_t width)¶ Dumps memory stored at data byte-wise up to data_len in hexadecimal representation to stdout.
If the pseudomodlue
od_stringis used (USEMODULE += od_string) the ASCII representation of data is also displayed.Parameters
data: Data to dump. data_len: Length in bytes of data to output. width: Number of bytes per line. If width is 0, od.h::OD_WIDTH_DEFAULTis assumed as a default value.
-
OD_WIDTH_DEFAULT¶ Default value for parameter width of
od.h::od_hex_dump()1
(16)