Atmel Software Framework

dsp_debug_read.c File Reference
#include "dsp_debug.h"
#include "dsp_debug_shared.h"

Functions

static int dsp_debug_parse_int (char *str)
 
void dsp_debug_read (char *str, int size, char end_char)
 This function is used to get a string. More...
 
int dsp_debug_read_q (int a, int b)
 This function is used to get a Q formatted number. More...
 
int dsp_debug_read_ui ()
 This function is used to get an unsigned integer. More...
 

static int dsp_debug_parse_int ( char *  str)
static

References c, and i.

Referenced by dsp_debug_read_q(), and dsp_debug_read_ui().

void dsp_debug_read ( char *  str,
int  size,
char  end_char 
)

This function is used to get a string.

This function is used to get a string through the peripheral used by the debugging module.

References c, dsp_debug_read_fct(), and i.

int dsp_debug_read_q ( int  a,
int  b 
)

This function is used to get a Q formatted number.

This function is used to read a Q formatted number.

References b, c, data, dsp_debug_parse_int(), dsp_debug_read_fct(), DSP_Q_MAX, DSP_Q_MIN, i, and temp.

Referenced by main().

int dsp_debug_read_ui ( )

This function is used to get an unsigned integer.

This function is used to get an unsigned integer through the peripheral used by the debugging module.

References c, dsp_debug_buffer, dsp_debug_parse_int(), dsp_debug_read_fct(), and i.

Referenced by main().