/**C*
 *
 * Vaisala software source code file
 *
 * Copyright (c) Vaisala Oyj 2010, 2012.
 * All rights reserved.
 *
 * $URL: https://subversion.vaisala.com/svn/repos/sigmet/wr_iris_rda/branches/release8.13.5/base/include/embhw/emb_dsp.h $
 *
 * $Id: emb_dsp.h 28324 2012-06-15 19:25:29Z sip $
 *
 **C*/
/* **********************************************************************
 * *                                                                    *
 * *       Structure and Parameter Definitions for SIGMET DSPs          *
 * *                                                                    *
 * **********************************************************************
 */
#ifndef EMB_DSP_H
#define EMB_DSP_H 1

/* Maximum number of range bins (bits set in the range mask) that each
 * type of processor can handle.
 */
#define RVP8_MAXBINS         3072
#define RVP9_MAXBINS         4200
#define RVP9_MAXBINS_PULSE2  4200

#define RVPX_MAXBINS      MAX( RVP8_MAXBINS, RVP9_MAXBINS )
/* Maximum number of autocorrelations to compute */
#define RVPX_MAXBINS_AUTO MAX( RVP8_MAXBINS, (RVP9_MAXBINS+RVP9_MAXBINS_PULSE2) )

/* Number of pulses per ray for each type of processor.
 */
#define RVP8_MINPULSES      1
#define RVP8_MAXPULSES   1024

#define RVP9_MINPULSES      1
#define RVP9_MAXPULSES   1024

#define RVPX_MINPULSES MIN( RVP8_MINPULSES, RVP9_MINPULSES )
#define RVPX_MAXPULSES MAX( RVP8_MAXPULSES, RVP9_MAXPULSES )


#endif /* #ifndef EMB_DSP_H */
