Contiki-NG
Toggle main menu visibility
Loading...
Searching...
No Matches
sl_rail_util_pa_config.h
Go to the documentation of this file.
1
/***************************************************************************/
/**
2
* @file
3
* @brief Power Amplifier configuration file.
4
*******************************************************************************
5
* # License
6
* <b>Copyright 2020 Silicon Laboratories Inc. www.silabs.com</b>
7
*******************************************************************************
8
*
9
* SPDX-License-Identifier: Zlib
10
*
11
* The licensor of this software is Silicon Laboratories Inc.
12
*
13
* This software is provided 'as-is', without any express or implied
14
* warranty. In no event will the authors be held liable for any damages
15
* arising from the use of this software.
16
*
17
* Permission is granted to anyone to use this software for any purpose,
18
* including commercial applications, and to alter it and redistribute it
19
* freely, subject to the following restrictions:
20
*
21
* 1. The origin of this software must not be misrepresented; you must not
22
* claim that you wrote the original software. If you use this software
23
* in a product, an acknowledgment in the product documentation would be
24
* appreciated but is not required.
25
* 2. Altered source versions must be plainly marked as such, and must not be
26
* misrepresented as being the original software.
27
* 3. This notice may not be removed or altered from any source distribution.
28
*
29
******************************************************************************/
30
31
#ifndef SL_RAIL_UTIL_PA_CONFIG_H
32
#define SL_RAIL_UTIL_PA_CONFIG_H
33
34
#include "rail_types.h"
35
36
// <<< Use Configuration Wizard in Context Menu >>>
37
38
// <h> PA Configuration
39
// <o SL_RAIL_UTIL_PA_POWER_DECI_DBM> Initial PA Power (deci-dBm, 100 = 10.0 dBm)
40
// <i> Default: 100
41
#define SL_RAIL_UTIL_PA_POWER_DECI_DBM 100
42
// <o SL_RAIL_UTIL_PA_RAMP_TIME_US> PA Ramp Time (microseconds)
43
// <0-65535:1>
44
// <i> Default: 10
45
#define SL_RAIL_UTIL_PA_RAMP_TIME_US 10
46
// <o SL_RAIL_UTIL_PA_VOLTAGE_MV> Milli-volts on PA supply pin (PA_VDD)
47
// <0-65535:1>
48
// <i> Default: 3300
49
#define SL_RAIL_UTIL_PA_VOLTAGE_MV 1800
50
// <o SL_RAIL_UTIL_PA_SELECTION_2P4GHZ> 2.4 GHz PA Selection
51
// <RAIL_TX_POWER_MODE_2P4GIG_HP=> High Power
52
// <RAIL_TX_POWER_MODE_2P4GIG_LP=> Low Power
53
// <RAIL_TX_POWER_MODE_NONE=> Disable
54
// <i> Default: RAIL_TX_POWER_MODE_2P4GIG_HP
55
#define SL_RAIL_UTIL_PA_SELECTION_2P4GHZ RAIL_TX_POWER_MODE_2P4GIG_HP
56
// <o SL_RAIL_UTIL_PA_SELECTION_SUBGHZ> Sub-1 GHz PA Selection
57
// <RAIL_TX_POWER_MODE_SUBGIG=> Enable
58
// <RAIL_TX_POWER_MODE_NONE=> Disable
59
// <i> Default: RAIL_TX_POWER_MODE_SUBGIG
60
#define SL_RAIL_UTIL_PA_SELECTION_SUBGHZ RAIL_TX_POWER_MODE_NONE
61
// </h>
62
63
// <h> PA Curve Configuration
64
// <s.50 SL_RAIL_UTIL_PA_CURVE_HEADER> Header file containing custom PA curves
65
// <i> Default: "pa_curves_efr32.h"
66
#define SL_RAIL_UTIL_PA_CURVE_HEADER "pa_curves_efr32.h"
67
// <s.50 SL_RAIL_UTIL_PA_CURVE_TYPES> Header file containing PA curve types
68
// <i> Default: "pa_curve_types_efr32.h"
69
#define SL_RAIL_UTIL_PA_CURVE_TYPES "pa_curve_types_efr32.h"
70
// </h>
71
72
// <h> PA Calibration Configuration
73
// <q SL_RAIL_UTIL_PA_CALIBRATION_ENABLE> Apply PA Calibration Factory Offset
74
// <i> Default: 1
75
#define SL_RAIL_UTIL_PA_CALIBRATION_ENABLE 1
76
// </h>
77
78
// <<< end of configuration section >>>
79
80
#endif
// SL_RAIL_UTIL_PA_CONFIG_H
arch
platform
gecko
brd4162a
config
sl_rail_util_pa_config.h
Generated on
for Contiki-NG by
1.17.0