Loading...
Searching...
No Matches
nrfx_glue.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2017-2021 Nordic Semiconductor ASA
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6#pragma once
7
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
29#define NRFX_ASSERT(expression)
30
36#define NRFX_STATIC_ASSERT(expression)
37
44#define NRFX_IRQ_PRIORITY_SET(irq_number, priority)
45
51#define NRFX_IRQ_ENABLE(irq_number)
52
61#define NRFX_IRQ_IS_ENABLED(irq_number)
62
68#define NRFX_IRQ_DISABLE(irq_number)
69
75#define NRFX_IRQ_PENDING_SET(irq_number)
76
82#define NRFX_IRQ_PENDING_CLEAR(irq_number)
83
90#define NRFX_IRQ_IS_PENDING(irq_number)
91
93#define NRFX_CRITICAL_SECTION_ENTER()
94
96#define NRFX_CRITICAL_SECTION_EXIT()
97
104#define NRFX_DELAY_DWT_BASED 0
105
111#define NRFX_DELAY_US(us_time)
112
114#define nrfx_atomic_t
115
124#define NRFX_ATOMIC_FETCH_STORE(p_data, value)
125
134#define NRFX_ATOMIC_FETCH_OR(p_data, value)
135
145#define NRFX_ATOMIC_FETCH_AND(p_data, value)
146
156#define NRFX_ATOMIC_FETCH_XOR(p_data, value)
157
167#define NRFX_ATOMIC_FETCH_ADD(p_data, value)
168
178#define NRFX_ATOMIC_FETCH_SUB(p_data, value)
179
192#define NRFX_ATOMIC_CAS(p_data, old_value, new_value)
193
202#define NRFX_CLZ(value)
203
212#define NRFX_CTZ(value)
213
220#define NRFX_CUSTOM_ERROR_CODES 0
221
227#define NRFX_EVENT_READBACK_ENABLED 1
228
232#define NRFX_DPPI_CHANNELS_USED 0
233
237#define NRFX_DPPI_GROUPS_USED 0
238
242#define NRFX_PPI_CHANNELS_USED 0
243
247#define NRFX_PPI_GROUPS_USED 0
248
252#define NRFX_GPIOTE_CHANNELS_USED 0
253
257#define NRFX_EGUS_USED 0
258
262#define NRFX_TIMERS_USED 0
263
264#ifdef __cplusplus
265}
266#endif
267