C
BYTE btohexa_high( BYTE b );
Description
Converts the upper nibble of a binary value to a hexadecimal ASCII byte. For example, btohexa_high(0xAE) will return 'A'.
Preconditions
None
Parameters
Parameters |
Description |
b |
the byte to convert |
Returns
The upper hexadecimal ASCII byte '0'-'9' or 'A'-'F'.