Services - tools - models - for embedded software development
Embecosm divider strip
Prev  Next

4.6.3.  Conversion Between Binary and Hexadecimal Character Registers

For several packets, register values must be represented as strings of characters in target endian order. For convenience, the functions reg2hex () and hex2reg () are provided. Each takes a pointer to a buffer for the characters. For reg2hex () a value to be converted is passed. For hex2reg () the value represented is returned as a result.

Embecosm divider strip