/* Converts a given input byte of data from an ASCII encoded HEX value to an integer value. */
static int8_t HexToDecimal(const char Byte)
/* Converts a given input byte of data from an ASCII encoded HEX value to an integer value. */
static int8_t HexToDecimal(const char Byte)
{
	if ((Byte >= 'A') && (Byte <= 'F'))
	  return (10 + (Byte - 'A'));
	else if ((Byte >= '0') && (Byte <= '9'))
	  return (Byte - '0');
	return -1;
}