nrfxlib API 2.7.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
28#ifdef __cplusplus
29extern "C" {
30#endif
31
35typedef struct
36{
39 int8_t soc_pwr;
40
47
51
65 int8_t requested_power,
66 uint16_t freq_mhz,
68 bool tx_power_ceiling);
69
84typedef void (*mpsl_fem_power_model_init_t)(const mpsl_fem_calibration_data_t * p_calibration_data);
85
92typedef struct
93{
103
107typedef struct
108{
112 uint8_t voltage;
114
143
144#ifdef __cplusplus
145}
146#endif
147
148#endif // MPSL_FEM_POWER_MODEL_H__
149
void(* mpsl_fem_power_model_output_fetch_t)(int8_t requested_power, 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:64
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_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:84
uint8_t mpsl_fem_pa_power_control_t
Definition: mpsl_fem_types.h:33
uint8_t voltage
Definition: mpsl_fem_power_model.h:112
int8_t temperature
Definition: mpsl_fem_power_model.h:110
External conditions that affect Front-End Module's power model.
Definition: mpsl_fem_power_model.h:108
int8_t soc_pwr
Definition: mpsl_fem_power_model.h:39
int8_t achieved_pwr
Definition: mpsl_fem_power_model.h:49
mpsl_fem_pa_power_control_t fem_pa_power_control
Definition: mpsl_fem_power_model.h:46
Decomposition of a single value of output power on the antenna.
Definition: mpsl_fem_power_model.h:36
mpsl_fem_power_model_init_t init
Definition: mpsl_fem_power_model.h:101
mpsl_fem_power_model_output_fetch_t fetch
Definition: mpsl_fem_power_model.h:97
Front-End Module power model.
Definition: mpsl_fem_power_model.h:93
Union that provides data for calibrating Front-End Module gain.
Definition: mpsl_fem_types.h:56