nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
mpsl_cx_software.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
16#ifndef MPSL_CX_SOFTWARE__
17#define MPSL_CX_SOFTWARE__
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23#include <zephyr/sys_clock.h>
24
25#include <stdint.h>
26
27#ifdef CONFIG_MPSL_CX_SOFTWARE_RPC_CLIENT
28/*
29 * MPSL Software Coexistence RPC client provides serialization of the MPSL Software Coexistence
30 * APIs, but it does not pull the actual MPSL Radio Coexistence library into the build system.
31 * Hence the 'mpsl_cx_op_map_t' must be redefined below.
32 */
33enum mpsl_cx_op_t {
34 MPSL_CX_OP_IDLE_LISTEN = 0x01,
35 MPSL_CX_OP_RX = 0x02,
36 MPSL_CX_OP_TX = 0x04,
37};
38typedef uint8_t mpsl_cx_op_map_t;
39#else
40#include <protocol/mpsl_cx_protocol_api.h>
41#endif
42
54int mpsl_cx_software_set_granted_ops(mpsl_cx_op_map_t ops, k_timeout_t timeout);
55
56#ifdef __cplusplus
57}
58#endif
59
60#endif /* MPSL_CX_SOFTWARE__ */
61
int mpsl_cx_software_set_granted_ops(mpsl_cx_op_map_t ops, k_timeout_t timeout)
Configures granted radio operations.