/***************************************************************************//**
* @file
* @brief Power Amplifier configuration file.
*******************************************************************************
* # License
* Copyright 2020 Silicon Laboratories Inc. www.silabs.com
*******************************************************************************
*
* SPDX-License-Identifier: Zlib
*
* The licensor of this software is Silicon Laboratories Inc.
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* including commercial applications, and to alter it and redistribute it
* freely, subject to the following restrictions:
*
* 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software. If you use this software
* in a product, an acknowledgment in the product documentation would be
* appreciated but is not required.
* 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution.
*
******************************************************************************/
#ifndef SL_RAIL_UTIL_PA_CONFIG_H
#define SL_RAIL_UTIL_PA_CONFIG_H
#include "rail_types.h"
// <<< Use Configuration Wizard in Context Menu >>>
// PA configuration
// Initial PA Power (deci-dBm, 100 = 10.0 dBm)
// Default: 100
#define SL_RAIL_UTIL_PA_POWER_DECI_DBM 100
// PA Ramp Time (microseconds)
// <0-65535:1>
// Default: 2
#define SL_RAIL_UTIL_PA_RAMP_TIME_US 2
// Milli-volts on PA supply pin (PA_VDD)
// <0-65535:1>
// Default: 1800
#define SL_RAIL_UTIL_PA_VOLTAGE_MV 1800
// 2.4 GHz PA Selection
// Highest Possible (s2)
// 2.4 GHz, High Power (s1, s2)
// 2.4 GHz, Medium Power (s2)
// 2.4 GHz, Low Power (s1, s2)
// None (s1, s2)
// Default: RAIL_TX_POWER_MODE_2P4GIG_HP
#define SL_RAIL_UTIL_PA_SELECTION_2P4GHZ RAIL_TX_POWER_MODE_2P4GIG_HP
// Sub GHz PA Selection
// Highest Possible (s2)
// Sub-1 GHz (s1)
// Sub-1 GHz, High Power (s2)
// Sub-1 GHz, Medium Power (s2)
// Sub-1 GHz, Low Power (s2)
// None (s1, s2)
// Default: RAIL_TX_POWER_MODE_SUBGIG_HIGHEST
#define SL_RAIL_UTIL_PA_SELECTION_SUBGHZ RAIL_TX_POWER_MODE_SUBGIG_HIGHEST
// Header file containing custom PA curves
// Default: "pa_curves_efr32.h"
#define SL_RAIL_UTIL_PA_CURVE_HEADER "pa_curves_efr32.h"
// Header file containing PA curve types
// Default: "pa_curve_types_efr32.h"
#define SL_RAIL_UTIL_PA_CURVE_TYPES "pa_curve_types_efr32.h"
// Enable PA Calibration
// Default: 0
#define SL_RAIL_UTIL_PA_CALIBRATION_ENABLE 0
//
// <<< end of configuration section >>>
#endif // SL_RAIL_UTIL_PA_CONFIG_H