![]() |
nrfxlib API 3.3.99
|
| int32_t mpsl_fem_nrf2220_temperature_changed_update_request | ( | mpsl_fem_nrf2220_temperature_update_callback_t | p_callback | ) |
#include <mpsl/fem/nrf2220/include/protocol/mpsl_fem_nrf2220_protocol_api.h>
Requests an update of temperature-related registers of nRF2220.
This function is to be called when mpsl_fem_nrf2220_temperature_changed returned true and you use a protocol that relies on the MPSL scheduler. This function uses asynchronous TWI writes provided through mpsl_fem_twi_if_t interface.
Prior calling this function you must:
The function starts a procedure consisting of:
The end of the operation is notified by a call to the callback function provided by p_callback pointer. The callback is called from low priority signalling context.
After calling this function with non-success result or after the p_callback is called you must:
| [in] | p_callback | The callback function that will be called to signal the end of the operation. The callback is called from low priority signalling context. |
| 0 | In case of success, the p_callback. The p_callback will be called. |
| -NRF_EINVAL | Nothing to write, the p_callback will not be called. |