CVS: libraries/include/mspgcc util.h,1.2,1.3
Chris Liechti <[email protected]>
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mspgcc/libraries/include/mspgcc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24664/libraries/include/mspgcc Modified Files: util.h Log Message: split hex digits into an own file Index: util.h =================================================================== RCS file: /cvsroot/mspgcc/libraries/include/mspgcc/util.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -d -r1.2 -r1.3 --- util.h 13 Sep 2005 14:09:43 -0000 1.2 +++ util.h 18 Sep 2005 12:22:25 -0000 1.3 @@ -26,6 +26,11 @@ void delay(unsigned short count); +/** + * An array containing all the hexadecimal digits "0123456789ABCDEF". + * This can be used to convert a nibble to a hex number. + */ +extern const unsigned char HEX_DIGITS[16]; /** * Encode a binary buffer of given size to a string of hexdigits (null terminated). ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php