nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ mpsl_cx_nrf700x_set_enabled()

void mpsl_cx_nrf700x_set_enabled ( bool  enable)

#include <include/mpsl/mpsl_cx_nrf700x.h>

Enables or disables nRF700x Coexistence Interface.

The nRF700x Coexistence Interface is enabled by default. Depending on the current state of GRANT pin of the nRF700x, clients of MPSL CX APIs will either be granted or denied access to RF when the interface is enabled.

Whenever nRF700x enters shutdown mode, the nRF700x Coexistence Interface must be disabled by calling this function with enable equal false. Otherwise, all clients of MPSL CX APIs will unconditionally be denied access to RF until nRF700x leaves shutdown mode.

Once the nRF700x Coexistence Interface is disable, it can only be enabled again by calling this function with enable equal true. Since the interface is enabled by default, unless the application disabled it there is no need to call this function to have the nRF700x Coexistence Interface enabled.

Note
This function is blocking. When it returns, the caller can assume the interface is already in requested state.
Parameters
[in]enableIndicates if the nRF700x Coexistence Interface should be enabled or disabled.