blob: abd8beadf777a8ab02ec91d906212b9b51985383 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/****************************************************************************
*
* 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.
* RS232 must be available.
* Post: A hex representation of value is printed.
*
****************************************************************************/
void print_hex_value(unsigned value);
/****************************************************************************
*
* print_string (unsigned 8 value[16])
*
* Arguments: (typical)
* value: An array of characters.
*
* Description: (typical)
* This function will print a string through the RS232 interface.
* Pre: Value must not be 16 characters in length. If less char's
* are used, termination with \0 is recommended.
* RS232 must be available.
* Post: The string is printed as is.
*
****************************************************************************/
void print_string(unsigned 8 s[16]);
|