diff options
Diffstat (limited to 'FFT_Test/debug.hch')
-rw-r--r-- | FFT_Test/debug.hch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/FFT_Test/debug.hch b/FFT_Test/debug.hch new file mode 100644 index 0000000..9a661c9 --- /dev/null +++ b/FFT_Test/debug.hch @@ -0,0 +1,51 @@ +/****************************************************************************
+ *
+ * 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);
\ No newline at end of file |