subtitle "uart_lib.h by L. Wyard-Scott" ;;; ********************************************************************* ;;; Filename: str_lib.h ;;; Purpose: String library routine headers and other library equates. ;;; Revision: 0.0 ;;; Date: 07 October 2003 ;;; Author: L. Wyard-Scott ;;; Copyright: (c) 2003 L. Wyard-Scott ;;; ********************************************************************* ;;; Revision History: ;;; 0.0 07 October 2003 ;;; Creation. ;;; ********************************************************************* ;;; ********************************************************************* ;;; Ideas for future work: ;;; ********************************************************************* ;;; --------------------------------------------------------------------- ;;; Externally defined variables. ;;; --------------------------------------------------------------------- ;;; --------------------------------------------------------------------- ;;; Externally defined subroutines. ;;; --------------------------------------------------------------------- extern STR_Hex2ASC ; Conversion of a byte into two ASCII ; hexadecimal digits. extern STR_ASC2Hex ; Conversion two ASCII hexadecimal digits ; into a byte value. extern STR_IsHex ; Determines whether or not a single ; ASCII code is a legitmate hexadecimal ; digit. extern STR_IsHexS ; Determines if an entire string contains ; valid ASCII hexadecimal digits. extern STR_ToUpperS ; Converts a NULL-terminated string to ; its uppercase equivalent. extern STR_ToUpper ; Converts a single character to its ; uppercase equivalent. extern STR_ToLowerS ; Converts a NULL-terminated string to ; its lowercase equivalent. extern STR_ToLower ; Converts a single character to its ; lowercase equivalent. extern STR_Length ; Returns the length of a NULL-terminated ; string in RAM.