#include "conf/conf_clock.h"
Go to the source code of this file.
Defines | |
| #define | _TRACE_ (DISABLE) |
| This is Compilation switches definition. | |
| #define | _ASSERT_ (DISABLE) |
| #define | OCD_BAUDRATE 19200 |
| #define | Ocd_soft_entry() (OACTIV=0x55,OACTIV=0xAA) |
| This is initialization of OCD_BRL_VALUE is used to insert OCD software entry sequence This macro is used to insert OCD software entry sequence. | |
| #define | TRACE_START_CHAR ('#') |
| Trace control characters definition : start & stop. | |
| #define | TRACE_STOP_CHAR ( 0 ) |
| #define | Assert(expr) |
| This macro is used to test fatal errors which may be caused by software or hardware bugs. | |
| #define | Trace_ptwo(hex) (P2 = (hex)) |
| #define | Trace_nl() trace("\n\r"); |
| #define | Trace_hex16(u16) |
| #define | Trace_hex32(u32) |
Functions | |
| void | trace (const U8 *str) |
| Fonction used for send a texte 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_u8 (U16 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_u32 (U32 val) |
| Fonction used to display a byte value in the decimal form (16 bits) on OCD/Serial Debug Interface. | |
| void | ocd_enable (Bool ocd_activ) |
Variables | |
| U8 _MEM_TYPE_SLOW_ | g_trace_en |
| Fonction used to enable OCD perform an OCD software entry, set Baudrate to valueperform an OCD software entry. | |
Use of this program is subject to Atmel's End User License Agreement. Please read file license.txt for copyright notice.
Definition in file debug.h.
|
|
This is Compilation switches definition.
|
|
|
|
|
|
|
|
|
This is initialization of OCD_BRL_VALUE is used to insert OCD software entry sequence This macro is used to insert OCD software entry sequence.
|
|
|
Trace control characters definition : start & stop.
Definition at line 99 of file debug.h. Referenced by trace(), trace_hex(), trace_u16(), trace_u32(), and trace_u8(). |
|
|
Definition at line 100 of file debug.h. Referenced by trace(), trace_hex(), trace_u16(), trace_u32(), and trace_u8(). |
|
|
Value: This macro is used to test fatal errors which may be caused by software or hardware bugs. The macro tests if the expression is TRUE. If it is not, a fatal error is detected and the application hangs.
|
|
|
|
|
|
|
|
|
Value: |
|
|
Value: |
|
|
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 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 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 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 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 enable OCD perform an OCD software entry, set Baudrate to valueperform an OCD software entry.
Definition at line 128 of file debug.h. Referenced by trace(), trace_hex(), trace_u16(), trace_u32(), and trace_u8(). |
1.3.7