Microchip® Advanced Software Framework

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

Macros

#define DSP16_MIN_KERNEL_X_FCT(x_num, data)
 
#define DSP16_MINIMUM(x_num, data)
 

Functions

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

#define DSP16_MIN_KERNEL_X_FCT (   x_num,
  data 
)
Value:
static dsp16_t TPASTE2(dsp16_vect_min_kernel_x, x_num)(dsp16_t *vect1, dsp16_t min) \
{ \
MREPEAT(x_num, DSP16_MINIMUM, ""); \
return min; \
}
A_ALIGNED dsp16_t vect1[VECT2_SIZE+2 *(VECT3_SIZE-1)+4]
The output buffer.
Definition: convolution_example.c:86
#define min(a, b)
Takes the minimal value of a and b.
Definition: compiler.h:847
#define MREPEAT(count, macro, data)
Macro repeat.
Definition: mrepeat.h:67
dsp16_t__ dsp16_t
16-bit signed fixed point type optimized for 32-bit or lower microcontrollers
Definition: dsp_types.h:192
#define TPASTE2(a, b)
Definition: tpaste.h:61
#define DSP16_MINIMUM(x_num, data)
Definition: vect_dsp16_min.c:46
#define DSP16_MINIMUM (   x_num,
  data 
)
Value:
if (min > vect1[x_num]) \
min = vect1[x_num];
A_ALIGNED dsp16_t vect1[VECT2_SIZE+2 *(VECT3_SIZE-1)+4]
The output buffer.
Definition: convolution_example.c:86
#define min(a, b)
Takes the minimal value of a and b.
Definition: compiler.h:847

Referenced by dsp16_vect_min().