nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ mpsl_cx_request()

int32_t mpsl_cx_request ( const mpsl_cx_request_t * p_req_params)

#include <mpsl/include/protocol/mpsl_cx_protocol_api.h>

Request radio operation from PTA.

This function is to be called before transceiver is enabled to inform PTA about planned radio operation which is about to start and about the priority of this operation.

Each call of this function overrides the last request.

This function is usually called shortly before scheduled radio operations, or just after detection of asynchronous events indicating radio operations.

Call to this function cannot preempt a call to mpsl_cx_release. It is responsibility of user of this interface to prevent such preemption.

Parameters
[in]p_req_paramsPointer to a structure containing parameters of given request.
Return values
0Requested radio operation from PTA
-EINVALIncorrect value of any field in p_req_params or p_req_params is NULL.