Microchip® Advanced Software Framework

vect_dsp32_max.c File Reference
#include "dsp.h"
#include "preprocessor.h"

Macros

#define DSP32_MAX_KERNEL_X_FCT(x_num, data)
 
#define DSP32_MAXIMUM(x_num, data)
 

Functions

dsp32_t dsp32_vect_max (dsp32_t *vect1, int size)
 32-bit fixed point version of the vector maximum function. More...
 

#define DSP32_MAX_KERNEL_X_FCT (   x_num,
  data 
)
Value:
static dsp32_t TPASTE2(dsp32_vect_max_kernel_x, x_num)(dsp32_t *vect1, dsp32_t max) \
{ \
MREPEAT(x_num, DSP32_MAXIMUM, ""); \
}
#define DSP32_MAXIMUM(x_num, data)
Definition: vect_dsp32_max.c:46
dsp32_t__ dsp32_t
32-bit signed fixed point type optimized for 32-bit or lower microcontrollers
Definition: dsp_types.h:201
MREPEAT(AVR32_INTC_NUM_INT_GRPS, DECL_INT_LINE_HANDLER_TABLE,~)
#define TPASTE2(a, b)
Definition: tpaste.h:61
#define max(a, b)
Takes the maximal value of a and b.
Definition: compiler.h:869
return
Definition: jmemmgr.c:616
#define DSP32_MAXIMUM (   x_num,
  data 
)
Value:
if (max < vect1[x_num]) \
max = vect1[x_num];
#define max(a, b)
Takes the maximal value of a and b.
Definition: compiler.h:869

Referenced by dsp32_vect_max().