dsp_debug_shared.h File Reference


Detailed Description

DSP library debbuging functions - shared functions.

This file defines a useful set of debugging functions for the DSP library

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

Definition in file dsp_debug_shared.h.

Go to the source code of this file.
#define DSP_DEBUG_BUFFER_SIZE   256
 For internal computations only.
char dsp_debug_buffer [DSP_DEBUG_BUFFER_SIZE]
 Shared buffer to store temporary data.
int dsp_debug_sprint_fct (char **out, char *str)
 Print a string inside a buffer.


Define Documentation

#define DSP_DEBUG_BUFFER_SIZE   256

For internal computations only.

The size of the temporary buffer

Definition at line 54 of file dsp_debug_shared.h.


Function Documentation

int dsp_debug_sprint_fct ( char **  out,
char *  str 
)

Print a string inside a buffer.

Definition at line 268 of file dsp_debug_print.c.

Referenced by dsp_debug_sprint(), and dsp_debug_sprint_after_radix().

00269 {
00270   int n = 0;
00271 
00272   // Main loop
00273   while(*str)
00274   {
00275     n++;
00276     *(*out)++ = *str++;
00277   }
00278   **out = '\0';
00279 
00280   // Return the length of the string
00281   return n;
00282 }


Variable Documentation

char dsp_debug_buffer[DSP_DEBUG_BUFFER_SIZE]

Shared buffer to store temporary data.

Definition at line 50 of file dsp_debug_print.c.

Referenced by dsp16_debug_printf(), dsp32_debug_printf(), dsp_debug_print(), dsp_debug_print_ui(), dsp_debug_read_ui(), and dsp_sprint_ui().


Generated on Fri Feb 19 02:23:18 2010 for AVR32 UC3 - EVK1104 DSPLib Demo Documentation by  doxygen 1.5.5