nrfxlib API 3.3.99
Loading...
Searching...
No Matches
mpsl_fem_power_model.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
20#ifndef MPSL_FEM_POWER_MODEL_H__
21#define MPSL_FEM_POWER_MODEL_H__
22
23#include <stdint.h>
24#include <stdbool.h>
25
26#include "mpsl_fem_types.h"
27#include "mpsl_tx_power.h"
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
52
67 int8_t requested_power,
68 mpsl_phy_t phy,
69 uint16_t freq_mhz,
71 bool tx_power_ceiling);
72
87typedef void (*mpsl_fem_power_model_init_t)(const mpsl_fem_calibration_data_t * p_calibration_data);
88
106
110typedef struct
111{
115 uint8_t voltage;
117
146
147#ifdef __cplusplus
148}
149#endif
150
151#endif // MPSL_FEM_POWER_MODEL_H__
152
int32_t mpsl_fem_power_model_set(const mpsl_fem_power_model_t *p_model)
Sets Front-End Module power model.
void(* mpsl_fem_power_model_output_fetch_t)(int8_t requested_power, mpsl_phy_t phy, uint16_t freq_mhz, mpsl_fem_power_model_output_t *p_output, bool tx_power_ceiling)
Pointer to function to be used by MPSL to retrieve the model's output.
Definition mpsl_fem_power_model.h:66
void(* mpsl_fem_power_model_init_t)(const mpsl_fem_calibration_data_t *p_calibration_data)
Pointer to function to be used by MPSL to initialize the model.
Definition mpsl_fem_power_model.h:87
uint8_t mpsl_fem_pa_power_control_t
Definition mpsl_fem_types.h:33
uint8_t mpsl_phy_t
PHY type.
Definition mpsl_tx_power.h:55
uint8_t voltage
Definition mpsl_fem_power_model.h:115
int8_t temperature
Definition mpsl_fem_power_model.h:113
External conditions that affect Front-End Module's power model.
Definition mpsl_fem_power_model.h:111
int8_t soc_pwr
Definition mpsl_fem_power_model.h:40
int8_t achieved_pwr
Definition mpsl_fem_power_model.h:50
mpsl_fem_pa_power_control_t fem_pa_power_control
Definition mpsl_fem_power_model.h:47
Decomposition of a single value of output power on the antenna.
Definition mpsl_fem_power_model.h:37
mpsl_fem_power_model_init_t init
Definition mpsl_fem_power_model.h:104
mpsl_fem_power_model_output_fetch_t fetch
Definition mpsl_fem_power_model.h:100
Front-End Module power model.
Definition mpsl_fem_power_model.h:96
Union that provides data for calibrating Front-End Module gain.
Definition mpsl_fem_types.h:56