Functions | |
void | dsp16_debug_print (dsp16_t n) |
This functions permits to print a dsp16_t typed number. More... | |
void | dsp16_debug_print_complex (dsp16_complex_t *n) |
This functions permits to print a dsp16_complex_t typed number. More... | |
void | dsp16_debug_print_complex_vect (dsp16_complex_t *vect, int size) |
This functions permits to print a dsp16_complex_t typed vector. More... | |
void | dsp16_debug_print_vect (dsp16_t *vect, int size) |
This functions permits to print a dsp16_t typed vector. More... | |
void | dsp32_debug_print (dsp32_t n) |
This functions permits to print a dsp32_t typed number. More... | |
void | dsp32_debug_print_complex (dsp32_complex_t *n) |
This functions permits to print a dsp32_complex_t typed number. More... | |
void | dsp32_debug_print_complex_vect (dsp32_complex_t *vect, int size) |
This functions permits to print a dsp32_complex_t typed vector. More... | |
void | dsp32_debug_print_vect (dsp32_t *vect, int size) |
This functions permits to print a dsp32_t typed vector. More... | |
void | dsp_debug_initialization__ (char *date, char *time, int fosc) |
void | dsp_debug_print (int nb_bits, int q, int n) |
Generic function to print all kind of Q formatted numbers. More... | |
void | dsp_debug_print_complex (int nb_bits, int q, int real, int imag) |
Generic function to print all kind of complex Q formatted numbers. More... | |
void | dsp_debug_print_fct (char *str) |
This function is used to print a string through the peripheral used by the debugging module. More... | |
char * | dsp_debug_print_si (int n) |
char * | dsp_debug_print_ui (unsigned int n) |
int | dsp_debug_sprint (char **out, int nb_bits, int q, int i) |
Generic function to print all kind of Q formatted numbers. More... | |
int | dsp_debug_sprint_after_radix (char **out, unsigned int num, unsigned int den, int nb_digits) |
This functions permits to copy the digits after the radix of a division's result in the specified buffer. More... | |
int | dsp_debug_sprint_fct (char **out, char *str) |
Print a string inside a buffer. More... | |
Variables | |
char | dsp_debug_buffer [DSP_DEBUG_BUFFER_SIZE] |
Shared buffer to store temporary data. More... | |
void dsp_debug_initialization__ | ( | char * | date, |
char * | time, | ||
int | fosc | ||
) |
References dsp_debug_init().
char * dsp_debug_print_si | ( | int | n | ) |
References dsp_debug_print_ui().
char * dsp_debug_print_ui | ( | unsigned int | n | ) |
References dsp_debug_buffer, and i.
Referenced by dsp16_debug_print_complex_vect(), dsp16_debug_print_vect(), dsp32_debug_print_complex_vect(), dsp32_debug_print_vect(), dsp_debug_print_si(), and dsp_debug_sprint().
int dsp_debug_sprint_fct | ( | char ** | out, |
char * | str | ||
) |
Print a string inside a buffer.
References n.
Referenced by dsp_debug_sprint(), and dsp_debug_sprint_after_radix().
char dsp_debug_buffer[DSP_DEBUG_BUFFER_SIZE] |
Shared buffer to store temporary data.
Referenced by dsp16_debug_printf(), dsp32_debug_printf(), dsp_debug_print(), dsp_debug_print_ui(), dsp_debug_read_ui(), and dsp_sprint_ui().