nrfxlib API 0.1.0
Loading...
Searching...
No Matches
mpsl_cx_abstract_interface.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
20#ifndef MPSL_CX_ABSTRACT_INTERFACE_H_
21#define MPSL_CX_ABSTRACT_INTERFACE_H_
22
23#include <stdbool.h>
24#include <stdint.h>
25#include <stdlib.h>
26
28
34typedef struct
35{
37 int32_t (*p_request)(const mpsl_cx_request_t * p_req_params);
39 int32_t (*p_release)(void);
41 int32_t (*p_granted_ops_get)(mpsl_cx_op_map_t * p_granted_ops);
43 uint32_t (*p_req_grant_delay_get)(void);
45 int32_t (*p_register_callback)(mpsl_cx_cb_t cb);
47
59int32_t mpsl_cx_interface_set(const mpsl_cx_interface_t * p_methods);
60
61#endif /* MPSL_CX_ABSTRACT_INTERFACE_ */
62
int32_t mpsl_cx_interface_set(const mpsl_cx_interface_t *p_methods)
Connects to one of Coexistence PTA client implementation.
void(* mpsl_cx_cb_t)(mpsl_cx_op_map_t granted_ops)
Callback used to notify radio protocol about changes of granted radio operations.
Definition: mpsl_cx_protocol_api.h:111
uint8_t mpsl_cx_op_map_t
Bitmap representing a list of radio operations.
Definition: mpsl_cx_protocol_api.h:71
Set of pointers to functions in MPSL Coexistence interface.
Definition: mpsl_cx_abstract_interface.h:35
Structure with parameters describing next coexistence request.
Definition: mpsl_cx_protocol_api.h:100