hex_char_to_num() function
STATIC FUNCTIONS Convert a hexadecimal characters to a number (0..15)
Syntax
static uint8_t hex_char_to_num(char hex); Arguments
hex
Pointer to a hexadecimal character (0..9, A..F)
Return value
the numerical value of `hex` or 0 on error