vect_dsp32_max.c File Reference


Detailed Description

generic 32-bit vector maximum function

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

Definition in file vect_dsp32_max.c.

#include "dsp.h"
#include "preprocessor.h"

Go to the source code of this file.

Defines

#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.


Define Documentation

#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, ""); \
  return max; \
}

Definition at line 60 of file vect_dsp32_max.c.

#define DSP32_MAXIMUM ( x_num,
data   ) 

Value:

if (max < vect1[x_num]) \
    max = vect1[x_num];

Definition at line 53 of file vect_dsp32_max.c.

Referenced by dsp32_vect_max().


Generated on Fri Feb 19 02:23:21 2010 for AVR32 UC3 - EVK1104 DSPLib Demo Documentation by  doxygen 1.5.5