/**************************************************************************** * * print_hex_value (unsigned value) * * Arguments: (typical) * value: The integer which will be printed * * Description: (typical) * This function will print the integer through the RS232 interface in a * 32-bit hexadecimal representation. * Pre: Value must be smaller or equal to 32-bits. * Post: A hex representation of value is printed. * ****************************************************************************/ void print_hex_value(unsigned value); /**************************************************************************** * * print_hex_value (signed value, ) * * Arguments: (typical) * value: The integer which will be printed * size: The width of the integer to be printed * Description: (typical) * This function will print the integer through the RS232 interface in a * 32-bit hexadecimal representation. * Pre: Value must be smaller or equal to 32-bits, and the value must be signed. * Post: A hex representation of value is printed. * ****************************************************************************/ void print_signed_hex_value(signed value, unsigned 6 size); /**************************************************************************** * * print_string (unsigned char *s) * * Arguments: (typical) * s: Pointer to an array containg a string top print. * * Description: (typical) * This function will print a string through the RS232 interface. * Pre: The array must be /0 terminated. * Post: The string is printed as is. * ****************************************************************************/ void print_string(unsigned char *s); void print_eol(void);