#include "config.h"
#include "debug.h"
Go to the source code of this file.
Functions | |
| void | put_OCD (U8 val) |
| This macro is used to output a character on OCD/Serial Debug Interface when SOFT_OCD switch enabled, character is output as is => VT100 or Hyperterminal usage when switch disabled, character are ORed with 0x80 to distinguish from debug status byte output from OCD hardware => OCD dongle usage. | |
| void | trace_u32 (U32 val) |
| Fonction used to display a byte value in the decimal form (16 bits) on OCD/Serial Debug Interface. | |
| void | trace_u16 (U16 val) |
| Fonction used to display a byte value in the decimal form (16 bits) on OCD/Serial Debug Interface. | |
| void | trace_u8 (U16 val) |
| Fonction used to display a byte value in the decimal form (16 bits) on OCD/Serial Debug Interface. | |
| void | trace_hex (U8 val) |
| Fonction used to display a byte value in the hex form on OCD/Serial Debug Interface. | |
| void | trace (const U8 *str) |
| Fonction used for send a texte on OCD/Serial Debug Interface. | |
Variables | |
| U8 _MEM_TYPE_SLOW_ | g_trace_en = TRUE |
| Fonction used to enable OCD perform an OCD software entry, set Baudrate to valueperform an OCD software entry. | |
Please read file license.txt for copyright notice.
Definition in file debug.c.
|
|
This macro is used to output a character on OCD/Serial Debug Interface when SOFT_OCD switch enabled, character is output as is => VT100 or Hyperterminal usage when switch disabled, character are ORed with 0x80 to distinguish from debug status byte output from OCD hardware => OCD dongle usage.
Definition at line 71 of file debug.c. Referenced by trace(), trace_hex(), trace_u16(), trace_u32(), and trace_u8().
|
|
|
Fonction used to display a byte value in the decimal form (16 bits) on OCD/Serial Debug Interface.
Definition at line 87 of file debug.c. References _MEM_TYPE_SLOW_, Bool, FALSE, g_trace_en, put_OCD(), TRACE_START_CHAR, TRACE_STOP_CHAR, TRUE, and U32.
|
|
|
Fonction used to display a byte value in the decimal form (16 bits) on OCD/Serial Debug Interface.
Definition at line 110 of file debug.c. References _MEM_TYPE_SLOW_, Bool, FALSE, g_trace_en, put_OCD(), TRACE_START_CHAR, TRACE_STOP_CHAR, TRUE, and U16.
|
|
|
Fonction used to display a byte value in the decimal form (16 bits) on OCD/Serial Debug Interface.
Definition at line 133 of file debug.c. References _MEM_TYPE_SLOW_, Bool, FALSE, g_trace_en, put_OCD(), TRACE_START_CHAR, TRACE_STOP_CHAR, TRUE, and U8.
|
|
|
Fonction used to display a byte value in the hex form on OCD/Serial Debug Interface.
Definition at line 156 of file debug.c. References FALSE, g_trace_en, put_OCD(), TRACE_START_CHAR, and TRACE_STOP_CHAR.
|
|
|
Fonction used for send a texte on OCD/Serial Debug Interface.
Definition at line 176 of file debug.c. References FALSE, g_trace_en, put_OCD(), TRACE_START_CHAR, TRACE_STOP_CHAR, and U8.
|
|
|
Fonction used to enable OCD perform an OCD software entry, set Baudrate to valueperform an OCD software entry.
Definition at line 61 of file debug.c. Referenced by trace(), trace_hex(), trace_u16(), trace_u32(), and trace_u8(). |
1.3.7