Back to the Utilities main page

AVR UC3 Series Software Framework: DSPLib - Debug module.

Copyright © 2007 Atmel Corporation

Introduction

This module provides a useful set of debug functions to help the user debbuging its application.

 

Library

This module contains a sub directory called LIB which contains all the files for the generation of a static library.
The process to build this library can be done with this script LIB/build.sh.

  • Open a shell
  • Go to the directory /SERVICES/DSPLIB/UTILS/MODULES/DEBUG/LIB/
  • type: ./build.sh
  • Once the building process is done, the libraries can be accessed under the sub-directories LIB/AT32UC3A_EVK1100_USART1/GCC, LIB/AT32UC3B_EVK1101_USART1/IAR ...

     

    Debug module

    Here is a list of the currently implemented functions:

  • dsp_debug_initialization is part of dsp_debug_print.c
    Debugging initialization function.
    To use this feature, add to your project: dsp_debug_print.c

  • dsp_debug_print is part of dsp_debug_print.c
    Generic function used to print all kind of Q formatted numbers.
    To use this feature, add to your project: dsp_debug_print.c

  • dsp16_debug_print is part of dsp_debug_print.c
    This functions is used to print a dsp16_t typed number.
    To use this feature, add to your project: dsp_debug_print.c

  • dsp32_debug_print is part of dsp_debug_print.c
    This functions is used to print a dsp32_t typed number.
    To use this feature, add to your project: dsp_debug_print.c

  • dsp_debug_sprint is part of dsp_debug_print.c
    Generic function used to print all kind of Q formatted numbers in a buffer.
    To use this feature, add to your project: dsp_debug_print.c

  • dsp_debug_print_complex is part of dsp_debug_print.c
    Generic function used to print all kind of complex Q formatted numbers.
    To use this feature, add to your project: dsp_debug_print.c

  • dsp16_debug_print_complex is part of dsp_debug_print.c
    This functions is used to print a dsp16_complex_t typed number.
    To use this feature, add to your project: dsp_debug_print.c

  • dsp32_debug_print_complex is part of dsp_debug_print.c
    This functions is used to print a dsp32_complex_t typed number.
    To use this feature, add to your project: dsp_debug_print.c

  • dsp16_debug_print_vect is part of dsp_debug_print.c
    This functions is used to print a dsp16_t typed vector.
    To use this feature, add to your project: dsp_debug_print.c

  • dsp32_debug_print_vect is part of dsp_debug_print.c
    This functions is used to print a dsp32_t typed vector.
    To use this feature, add to your project: dsp_debug_print.c

  • dsp16_debug_print_complex_vect is part of dsp_debug_print.c
    This functions is used to print a dsp16_complex_t typed vector.
    To use this feature, add to your project: dsp_debug_print.c

  • dsp32_debug_print_complex_vect is part of dsp_debug_print.c
    This functions is used to print a dsp32_complex_t typed vector.
    To use this feature, add to your project: dsp_debug_print.c

  • dsp_debug_sprint_after_radix is part of dsp_debug_print.c
    This functions is used to print the digits after the radix of a quotient in a buffer.
    To use this feature, add to your project: dsp_debug_print.c

  • dsp16_debug_printf is part of dsp_debug_printf.c
    This function is the printf version for 16-bit Q formatted signed numbers.
    To use this feature, add to your project: dsp_debug_print.c and dsp_debug_printf.c

  • dsp32_debug_printf is part of dsp_debug_printf.c
    This function is the printf version for 32-bit Q formatted signed numbers.
    To use this feature, add to your project: dsp_debug_print.c and dsp_debug_printf.c

  • dsp16_debug_sprintf is part of dsp_debug_printf.c
    This function is the sprintf version for 16-bit Q formatted signed numbers.
    To use this feature, add to your project: dsp_debug_print.c and dsp_debug_printf.c

  • dsp32_debug_sprintf is part of dsp_debug_printf.c
    This function is the sprintf version for 32-bit Q formatted signed numbers.
    To use this feature, add to your project: dsp_debug_print.c and dsp_debug_printf.c

  • dsp_debug_read is part of dsp_debug_read.c
    This function is used to get a string form the user.
    To use this feature, add to your project: dsp_debug_print.c and dsp_debug_read.c

  • dsp_debug_read_ui is part of dsp_debug_read.c
    This function is used to get an unsigned number form the user.
    To use this feature, add to your project: dsp_debug_print.c and dsp_debug_read.c

  • dsp_debug_read_q is part of dsp_debug_read.c
    This function is used to read a Q formatted number.
    To use this feature, add to your project: dsp_debug_print.c and dsp_debug_read.c

  • All the examples provided by the DSPLib use thoses functions.

     


    AVR is a registered trademark of Atmel Corporation.