MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / hexByteToInt

Function hexByteToInt

erpcgen/src/HexValues.cpp:43–46  ·  view source on GitHub ↗

\param encodedByte Must point to at least two ASCII hex characters.

Source from the content-addressed store, hash-verified

41//! \param encodedByte Must point to at least two ASCII hex characters.
42//!
43uint8_t hexByteToInt(const char *encodedByte)
44{
45 return (hexCharToInt(encodedByte[0]) << 4) | hexCharToInt(encodedByte[1]);
46}

Callers

nothing calls this directly

Calls 1

hexCharToIntFunction · 0.85

Tested by

no test coverage detected