Atmel Software Framework

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

Macros

#define DSP16_ADD_KERNEL_X_FCT(x_num, data)
 
#define DSP16_ADDITION(x_num, data)   vect1[x_num] = vect2[x_num] + vect3[x_num];
 

Functions

void dsp16_vect_add (dsp16_t *vect1, dsp16_t *vect2, dsp16_t *vect3, int size)
 16-bit fixed point version of the vector addition function. More...
 

#define DSP16_ADD_KERNEL_X_FCT (   x_num,
  data 
)
Value:
static void TPASTE2(dsp16_vect_add_kernel_x, x_num)(dsp16_t *vect1, dsp16_t *vect2, dsp16_t *vect3) \
{ \
MREPEAT(x_num, DSP16_ADDITION, ""); \
}
A_ALIGNED dsp32_t vect3[VECT3_SIZE]
Definition: examples/dsp32_vectors/vectors_example.c:112
A_ALIGNED dsp16_complex_t vect1[SIZE]
The output buffer.
Definition: examples/dsp16_complex_fft/complex_fft_example.c:96
dsp16_t__ dsp16_t
16-bit signed fixed point type optimized for 32-bit or lower microcontrollers
Definition: dsp_types.h:199
A_ALIGNED dsp16_t vect2[SIZE]
The input signal resulting from a multiplication between a cosine and a sine.
Definition: examples/dsp16_complex_fft/complex_fft_example.c:99
#define DSP16_ADDITION(x_num, data)
Definition: vect_dsp16_add.c:53
#define TPASTE2(a, b)
Definition: tpaste.h:68
MREPEAT(AVR32_INTC_NUM_INT_GRPS, DECL_INT_LINE_HANDLER_TABLE,~)
#define DSP16_ADDITION (   x_num,
  data 
)    vect1[x_num] = vect2[x_num] + vect3[x_num];