/*
*
* Copyright (c) 2018 ERA Instruments (http://erainstruments.com/)
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define ERASynth 2
// Make DEBUG = 1 to write faster when debugging. This will avoid amplitude calibration files to written in flash therefore ouput power is going to be maximum.
#define DEBUG 0
#define max_DAC_Value 4095
#define min_DAC_Value 0
#define LMX1_LE 10
#define LMX2_LE 4
#define DDS_LE 52
#define LBand 0
#define MBand 1
#define UBand 2
#define OFFBand 3
#define maxSamplesNum 120
#define NBFM_Mod 0
#define WBFM_Mod 1
#define AM_Mod 2
#define Pulse_Mod 3
#define Internal 0
#define External 1
#define Microphone 2
#define Sine 0
#define Triangle 1
#define Ramp 2
#define Square 3
#define WREN 6
#define WRDI 4
#define RDSR 5
#define WRSR 1
#define READ 3
#define WRITE 2
#if ERASynth == 0
#include "calibration_0.h"
#endif
#if ERASynth == 1
#include "calibration_1.h"
#endif
#if ERASynth == 2
#include "calibration_1.h"
#include "calibration_2.h"
#endif