nRF Connect SDK API
3.4.99
Toggle main menu visibility
Loading...
Searching...
No Matches
nrf71_sr_coex_sr.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2026 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
*/
6
16
17
#ifndef NRF71_SR_COEX_SR_H__
18
#define NRF71_SR_COEX_SR_H__
19
20
#include <stdbool.h>
21
#include <stdint.h>
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
31
33
#define NRF71_SR_COEX_PRIO_LEVEL_AUTO 0xFFU
34
41
struct
nrf71_sr_coex_pti_range
{
43
uint8_t
start
;
45
uint8_t
end
;
47
uint8_t
step
;
48
};
49
51
struct
nrf71_sr_coex_sr_prio
{
53
struct
nrf71_sr_coex_pti_range
rx
;
55
struct
nrf71_sr_coex_pti_range
tx
;
57
struct
nrf71_sr_coex_pti_range
rx_critical
;
59
struct
nrf71_sr_coex_pti_range
tx_critical
;
64
uint8_t
level
;
65
};
66
68
enum
nrf71_sr_coex_sr_power_event
{
70
NRF71_SR_COEX_SR_PREPARE_POWER_DOWN
,
72
NRF71_SR_COEX_SR_POWERED_UP_READY
,
73
};
74
80
struct
nrf71_sr_coex_sr_driver_cb
{
86
int (*
enable
)(
bool
enable
);
92
int (*
set_priority
)(
const
struct
nrf71_sr_coex_sr_prio
*prio);
93
};
94
108
int
nrf71_sr_coex_sr_register
(
const
struct
nrf71_sr_coex_sr_driver_cb
*cb);
109
123
int
nrf71_sr_coex_sr_power_notify
(
enum
nrf71_sr_coex_sr_power_event
event);
124
128
129
#ifdef __cplusplus
130
}
131
#endif
132
133
#endif
/* NRF71_SR_COEX_SR_H__ */
nrf71_sr_coex_sr_register
int nrf71_sr_coex_sr_register(const struct nrf71_sr_coex_sr_driver_cb *cb)
Register the SR driver callbacks.
nrf71_sr_coex_sr_power_event
nrf71_sr_coex_sr_power_event
SR radio power events.
Definition
nrf71_sr_coex_sr.h:68
NRF71_SR_COEX_SR_PREPARE_POWER_DOWN
@ NRF71_SR_COEX_SR_PREPARE_POWER_DOWN
Definition
nrf71_sr_coex_sr.h:70
NRF71_SR_COEX_SR_POWERED_UP_READY
@ NRF71_SR_COEX_SR_POWERED_UP_READY
Definition
nrf71_sr_coex_sr.h:72
nrf71_sr_coex_sr_power_notify
int nrf71_sr_coex_sr_power_notify(enum nrf71_sr_coex_sr_power_event event)
Report an SR radio power event.
nrf71_sr_coex_pti_range::end
uint8_t end
Definition
nrf71_sr_coex_sr.h:45
nrf71_sr_coex_pti_range::start
uint8_t start
Definition
nrf71_sr_coex_sr.h:43
nrf71_sr_coex_pti_range::step
uint8_t step
Definition
nrf71_sr_coex_sr.h:47
nrf71_sr_coex_pti_range
COEXC priority (PTI) range.
Definition
nrf71_sr_coex_sr.h:41
nrf71_sr_coex_sr_driver_cb::enable
int(* enable)(bool enable)
Definition
nrf71_sr_coex_sr.h:86
nrf71_sr_coex_sr_driver_cb::set_priority
int(* set_priority)(const struct nrf71_sr_coex_sr_prio *prio)
Definition
nrf71_sr_coex_sr.h:92
nrf71_sr_coex_sr_driver_cb
Callbacks provided by the SR driver.
Definition
nrf71_sr_coex_sr.h:80
nrf71_sr_coex_sr_prio::tx
struct nrf71_sr_coex_pti_range tx
Definition
nrf71_sr_coex_sr.h:55
nrf71_sr_coex_sr_prio::rx
struct nrf71_sr_coex_pti_range rx
Definition
nrf71_sr_coex_sr.h:53
nrf71_sr_coex_sr_prio::tx_critical
struct nrf71_sr_coex_pti_range tx_critical
Definition
nrf71_sr_coex_sr.h:59
nrf71_sr_coex_sr_prio::level
uint8_t level
Definition
nrf71_sr_coex_sr.h:64
nrf71_sr_coex_sr_prio::rx_critical
struct nrf71_sr_coex_pti_range rx_critical
Definition
nrf71_sr_coex_sr.h:57
nrf71_sr_coex_sr_prio
SR client priority ranges.
Definition
nrf71_sr_coex_sr.h:51
include
drivers
nrf71_sr_coex
nrf71_sr_coex_sr.h
Generated on
for nRF Connect SDK API by
1.17.0