nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ mpsl_fem_nrf21540_power_model_builtin_update()

void mpsl_fem_nrf21540_power_model_builtin_update ( const mpsl_fem_external_conditions_t p_environment)

#include <mpsl/fem/nrf21540_gpio_spi/include/mpsl_fem_nrf21540_power_model_builtin.h>

Update the built-in nRF21540 model using provided parameters.

For given values of p_environment, this function populates the contents of an internally stored, built-in MPSL nRF21540 power model.

If the value of parameter passed to mpsl_fem_power_model_set was different than the return value of mpsl_fem_nrf21540_power_model_builtin_get, this function does nothing.

Note
This function takes a significant amount of time to execute (approximately 5ms). Calling it from high priority contexts might lead to degraded performance or starving other contexts of the application.
Parameters
[in]p_environmentPointer to a structure that holds current external conditions to recalculate the model for.