Microchip® Advanced Software Framework

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

Macros

#define DSP16_MAX_KERNEL_X_FCT(x_num, data)
 
#define DSP16_MAXIMUM(x_num, data)
 

Functions

dsp16_t dsp16_vect_max (dsp16_t *vect1, int size)
 16-bit fixed point version of the vector maximum function. More...
 

#define DSP16_MAX_KERNEL_X_FCT (   x_num,
  data 
)
Value:
static dsp16_t TPASTE2(dsp16_vect_max_kernel_x, x_num)(dsp16_t *vect1, dsp16_t max) \
{ \
MREPEAT(x_num, DSP16_MAXIMUM, ""); \
}
#define DSP16_MAXIMUM(x_num, data)
Definition: vect_dsp16_max.c:46
return
Low-level initialization routine called during startup, before the main function. ...
Definition: adpcm_encoder/adpcm_example.c:181
dsp16_t__ dsp16_t
16-bit signed fixed point type optimized for 32-bit or lower microcontrollers
Definition: dsp_types.h:192
A_ALIGNED dsp16_complex_t vect1[SIZE]
The output buffer.
Definition: dsp16_complex_fft/complex_fft_example.c:89
#define TPASTE2(a, b)
Definition: tpaste.h:61
MREPEAT(AVR32_INTC_NUM_INT_GRPS, DECL_INT_LINE_HANDLER_TABLE,~)
#define max(a, b)
Takes the maximal value of a and b.
Definition: compiler.h:869
#define DSP16_MAXIMUM (   x_num,
  data 
)
Value:
if (max < vect1[x_num]) \
max = vect1[x_num];
A_ALIGNED dsp16_complex_t vect1[SIZE]
The output buffer.
Definition: dsp16_complex_fft/complex_fft_example.c:89
#define max(a, b)
Takes the maximal value of a and b.
Definition: compiler.h:869

Referenced by dsp16_vect_max().