This library contains functions that write to the debug port on the TINIs400. More information on the debug port can be found in the application note 614, Diagnostic Port for the TINIs400, found at http://pdfserv.maxim-ic.com/en/an/app614.pdf.
For detailed information on the TINIs400 debug port please see Application Note 614: Diagnostic Port for the TINIs400.
Go to the source code of this file.
Defines | |
| #define | TINI400_DEBUGPORT_VERSION 2 |
Functions | |
| unsigned int | debugport_version (void) |
| Returns the version number of this DEBUGPORT library. | |
| void | debugport_init (void) |
| Initializes the timing for the debug port. | |
| void | debugport_sendbyte (unsigned char ch) |
| Sends a character to the debug port. | |
| void | debugport_sendhex (unsigned char b) |
| Prints a hexadecimal value to the debug port. | |
| void | debugport_sendstring (unsigned char *s) |
| Sends a string to the debug port. | |
|
|
Version number associated with this header file. Should be the same as the version number returned by the debugport_version function.
|
|
|
Initializes the timing for the debug port. This function must be called after init_rom before the debug port can be used. For correct serial port timing, set the clock frequency using init_setfrequency(). |
|
|
Sends a character to the debug port. This function sends a character to the debug port at 115200 bps. Note: This function disables interrupts while sending the character. |
|
|
Prints a hexadecimal value to the debug port. This function converts a byte into hexadecimal and sends the result to the debug port at 115200 bps. Note: This function disables interrupts while sending each character. |
|
|
Sends a string to the debug port. This function sends a zero-terminated string to the debug port at 115200 bps. Note: This function disables interrupts while sending each character. |
|
|
Returns the version number of this DEBUGPORT library.
|
| Copyright 2005 Dallas Semiconductor, Inc.. | Documentation generated by Doxygen. |