Microchip® Advanced Software Framework

debug.h File Reference
#include "stringz.h"

Macros

#define Insert_label(name)   __asm__ __volatile__ (STRINGZ(name)":");
 This macro is used to insert labels into assembly output. More...
 
#define Uc3_trace(debug_addr, x)
 
#define Uc3_trace_init(debug_addr)   *(U32*)(debug_addr)=debug_addr+4
 These macros are used to add traces memory. More...
 

Functions

U32 get_heap_curr_used_size (void)
 Returns the number of bytes currently used from the HEAP. More...
 
U32 get_heap_free_size (void)
 Returns the number of free bytes in the HEAP. More...
 
U32 get_heap_total_used_size (void)
 Returns the number of total of used bytes allocated from the HEAP. More...
 
Traces function using a round buffer
void uc3_round_trace_init (void *buf, U32 size)
 Initialize the trace using a round buffer. More...
 
void uc3_round_trace (U32 val)
 Trace a data in the round buffer. More...