Microchip® Advanced 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
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 dsp_debug_read_fct().

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 dsp_debug_parse_int(), dsp_debug_read_fct(), DSP_Q_MAX, and DSP_Q_MIN.

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 dsp_debug_buffer, dsp_debug_parse_int(), and dsp_debug_read_fct().