nrfxlib API 3.3.99
Loading...
Searching...
No Matches
mpsl_fem_config_nrf21540_common.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
16#ifndef MPSL_FEM_CONFIG_NRF21540_COMMON_H__
17#define MPSL_FEM_CONFIG_NRF21540_COMMON_H__
18
19#include <stdint.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25/* nRF21540 Front End Module Timings
26 */
27
29#define MPSL_FEM_NRF21540_DEFAULT_PA_TIME_IN_ADVANCE_US 26
30
32#define MPSL_FEM_NRF21540_DEFAULT_LNA_TIME_IN_ADVANCE_US 13
33
35#define MPSL_FEM_NRF21540_DEFAULT_PDN_SETTLE_US 18
36
38#define MPSL_FEM_NRF21540_DEFAULT_TRX_HOLD_US 5
39
40/* nRF21540 Front End Module Gains
41 *
42 * The provided gains are the default gains. The actual gain may depend on the
43 * temperature and the configuration of the Front End Module.
44 * See the Objective Product Specification for more details.
45 */
46
48#define MPSL_FEM_NRF21540_PA_POUTA_DEFAULT_GAIN_DB 20
49
51#define MPSL_FEM_NRF21540_PA_POUTB_DEFAULT_GAIN_DB 10
52
54#define MPSL_FEM_NRF21540_PA_DEFAULT_GAIN_DB MPSL_FEM_NRF21540_PA_POUTA_DEFAULT_GAIN_DB
55
57#define MPSL_FEM_NRF21540_LNA_DEFAULT_GAIN_DB 20
58
62typedef struct
63{
71 uint32_t pdn_settle_us;
73 uint32_t trx_hold_us;
75 int8_t pa_gain_db;
77 int8_t pa_gains_db[2];
81
82#ifdef __cplusplus
83}
84#endif
85
86#endif // MPSL_FEM_CONFIG_NRF21540_COMMON_H__
87
uint32_t lna_time_gap_us
Definition mpsl_fem_config_nrf21540_common.h:69
uint32_t trx_hold_us
Definition mpsl_fem_config_nrf21540_common.h:73
uint32_t pdn_settle_us
Definition mpsl_fem_config_nrf21540_common.h:71
uint32_t pa_time_gap_us
Definition mpsl_fem_config_nrf21540_common.h:66
int8_t pa_gain_db
Definition mpsl_fem_config_nrf21540_common.h:75
int8_t lna_gain_db
Definition mpsl_fem_config_nrf21540_common.h:79
Configuration structure of the nRF21540 Front End Module.
Definition mpsl_fem_config_nrf21540_common.h:63