Atmel Software Framework

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

Macros

#define DSP32_NEG_KERNEL_X_FCT(x_num, data)
 
#define DSP32_NEGATE(x_num, data)   vect1[x_num] = -vect2[x_num];
 

Functions

void dsp32_vect_neg (dsp32_t *vect1, dsp32_t *vect2, int size)
 32-bit fixed point version of the vector negate function. More...
 

#define DSP32_NEG_KERNEL_X_FCT (   x_num,
  data 
)
Value:
static void TPASTE2(dsp32_vect_neg_kernel_x, x_num)(dsp32_t *vect1, dsp32_t *vect2) \
{ \
MREPEAT(x_num, DSP32_NEGATE, ""); \
}
A_ALIGNED dsp16_complex_t vect1[SIZE]
The output buffer.
Definition: examples/dsp16_complex_fft/complex_fft_example.c:96
dsp32_t__ dsp32_t
32-bit signed fixed point type optimized for 32-bit or lower microcontrollers
Definition: dsp_types.h:208
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 DSP32_NEGATE(x_num, data)
Definition: vect_dsp32_neg.c:55
#define TPASTE2(a, b)
Definition: tpaste.h:68
MREPEAT(AVR32_INTC_NUM_INT_GRPS, DECL_INT_LINE_HANDLER_TABLE,~)
#define DSP32_NEGATE (   x_num,
  data 
)    vect1[x_num] = -vect2[x_num];

Referenced by dsp32_vect_neg().