btohexa_low Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
btohexa_low Function
C
BYTE btohexa_low(
    BYTE b
);
Description

Converts the lower nibble of a binary value to a hexadecimal ASCII byte. For example, btohexa_high(0xAE) will return 'E'.

Preconditions

None

Parameters
Parameters 
Description 
the byte to convert 
Returns

The lower hexadecimal ASCII byte '0'-'9' or 'A'-'F'.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.