1 /* 2 * Copyright (c) 2024, Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef NRFX_CONFIG_RESERVED_RESOURCES_H__ 8 #define NRFX_CONFIG_RESERVED_RESOURCES_H__ 9 10 /** @brief Bitmask that defines GPIOTE130 channels reserved for use outside 11 * of the nrfx library. 12 */ 13 #define NRFX_GPIOTE130_CHANNELS_USED \ 14 (~NRFX_CONFIG_MASK_DT(DT_NODELABEL(gpiote130), owned_channels) | \ 15 NRFX_CONFIG_MASK_DT(DT_NODELABEL(gpiote130), child_owned_channels)) 16 17 /** @brief Bitmask that defines GPIOTE131 channels reserved for use outside 18 * of the nrfx library. 19 */ 20 #define NRFX_GPIOTE131_CHANNELS_USED \ 21 (~NRFX_CONFIG_MASK_DT(DT_NODELABEL(gpiote131), owned_channels) | \ 22 NRFX_CONFIG_MASK_DT(DT_NODELABEL(gpiote131), child_owned_channels)) 23 24 /** @brief Bitmask that defines EGU instances that are reserved for use outside 25 * of the nrfx library. 26 */ 27 #define NRFX_EGUS_USED 0 28 29 /** @brief Bitmask that defines TIMER instances that are reserved for use outside 30 * of the nrfx library. 31 */ 32 #define NRFX_TIMERS_USED 0 33 34 /* 35 * The enabled Bluetooth controller subsystem is responsible for providing 36 * definitions of the BT_CTLR_USED_* symbols used below in a file named 37 * bt_ctlr_used_resources.h and for adding its location to global include 38 * paths so that the file can be included here for all Zephyr libraries that 39 * are to be built. 40 */ 41 #if defined(CONFIG_BT_LL_SW_SPLIT) 42 #include <bt_ctlr_used_resources.h> 43 #if defined(DPPI_PRESENT) 44 #if defined(NRF53_SERIES) 45 #define NRFX_DPPI0_CHANNELS_USED_BY_BT_CTLR BT_CTLR_USED_PPI_CHANNELS 46 #define NRFX_DPPI0_GROUPS_USED_BY_BT_CTLR BT_CTLR_USED_PPI_GROUPS 47 #elif defined(NRF54L_SERIES) 48 #define NRFX_DPPI10_CHANNELS_USED_BY_BT_CTLR BT_CTLR_USED_PPI_CHANNELS 49 #define NRFX_DPPI10_GROUPS_USED_BY_BT_CTLR BT_CTLR_USED_PPI_GROUPS 50 #endif 51 #else /* defined(DPPI_PRESENT) */ 52 #define NRFX_PPI_CHANNELS_USED_BY_BT_CTLR BT_CTLR_USED_PPI_CHANNELS 53 #define NRFX_PPI_GROUPS_USED_BY_BT_CTLR BT_CTLR_USED_PPI_GROUPS 54 #endif /* defined(DPPI_PRESENT) */ 55 #endif /* defined(CONFIG_BT_LL_SW_SPLIT) */ 56 57 #if defined(CONFIG_NRF_802154_RADIO_DRIVER) 58 #if defined(NRF52_SERIES) 59 #include <../src/nrf_802154_peripherals_nrf52.h> 60 #define NRFX_PPI_CHANNELS_USED_BY_802154_DRV NRF_802154_PPI_CHANNELS_USED_MASK 61 #define NRFX_PPI_GROUPS_USED_BY_802154_DRV NRF_802154_PPI_GROUPS_USED_MASK 62 #elif defined(NRF53_SERIES) 63 #include <../src/nrf_802154_peripherals_nrf53.h> 64 #define NRFX_DPPI0_CHANNELS_USED_BY_802154_DRV NRF_802154_DPPI_CHANNELS_USED_MASK 65 #define NRFX_DPPI0_GROUPS_USED_BY_802154_DRV NRF_802154_DPPI_GROUPS_USED_MASK 66 #elif defined(NRF54L_SERIES) 67 #include <../src/nrf_802154_peripherals_nrf54l.h> 68 #define NRFX_DPPI10_CHANNELS_USED_BY_802154_DRV NRF_802154_DPPI_CHANNELS_USED_MASK 69 #define NRFX_DPPI10_GROUPS_USED_BY_802154_DRV NRF_802154_DPPI_GROUPS_USED_MASK 70 #elif defined(NRF54H_SERIES) 71 #include <../src/nrf_802154_peripherals_nrf54h.h> 72 #define NRFX_DPPI020_CHANNELS_USED_BY_802154_DRV NRF_802154_DPPI_CHANNELS_USED_MASK 73 #define NRFX_DPPI020_GROUPS_USED_BY_802154_DRV NRF_802154_DPPI_GROUPS_USED_MASK 74 #else 75 #error Unsupported chip family 76 #endif 77 #endif /* CONFIG_NRF_802154_RADIO_DRIVER */ 78 79 #ifndef NRFX_DPPI0_CHANNELS_USED_BY_BT_CTLR 80 #define NRFX_DPPI0_CHANNELS_USED_BY_BT_CTLR 0 81 #endif 82 #ifndef NRFX_DPPI0_GROUPS_USED_BY_BT_CTLR 83 #define NRFX_DPPI0_GROUPS_USED_BY_BT_CTLR 0 84 #endif 85 #ifndef NRFX_DPPI0_CHANNELS_USED_BY_802154_DRV 86 #define NRFX_DPPI0_CHANNELS_USED_BY_802154_DRV 0 87 #endif 88 #ifndef NRFX_DPPI0_GROUPS_USED_BY_802154_DRV 89 #define NRFX_DPPI0_GROUPS_USED_BY_802154_DRV 0 90 #endif 91 #ifndef NRFX_DPPI0_CHANNELS_USED_BY_MPSL 92 #define NRFX_DPPI0_CHANNELS_USED_BY_MPSL 0 93 #endif 94 #ifndef NRFX_DPPI0_GROUPS_USED_BY_MPSL 95 #define NRFX_DPPI0_GROUPS_USED_BY_MPSL 0 96 #endif 97 98 #ifndef NRFX_DPPI00_CHANNELS_USED_BY_BT_CTLR 99 #define NRFX_DPPI00_CHANNELS_USED_BY_BT_CTLR 0 100 #endif 101 #ifndef NRFX_DPPI00_GROUPS_USED_BY_BT_CTLR 102 #define NRFX_DPPI00_GROUPS_USED_BY_BT_CTLR 0 103 #endif 104 #ifndef NRFX_DPPI00_CHANNELS_USED_BY_802154_DRV 105 #define NRFX_DPPI00_CHANNELS_USED_BY_802154_DRV 0 106 #endif 107 #ifndef NRFX_DPPI00_GROUPS_USED_BY_802154_DRV 108 #define NRFX_DPPI00_GROUPS_USED_BY_802154_DRV 0 109 #endif 110 #ifndef NRFX_DPPI00_CHANNELS_USED_BY_MPSL 111 #define NRFX_DPPI00_CHANNELS_USED_BY_MPSL 0 112 #endif 113 #ifndef NRFX_DPPI00_GROUPS_USED_BY_MPSL 114 #define NRFX_DPPI00_GROUPS_USED_BY_MPSL 0 115 #endif 116 117 #ifndef NRFX_DPPI10_CHANNELS_USED_BY_BT_CTLR 118 #define NRFX_DPPI10_CHANNELS_USED_BY_BT_CTLR 0 119 #endif 120 #ifndef NRFX_DPPI10_GROUPS_USED_BY_BT_CTLR 121 #define NRFX_DPPI10_GROUPS_USED_BY_BT_CTLR 0 122 #endif 123 #ifndef NRFX_DPPI10_CHANNELS_USED_BY_802154_DRV 124 #define NRFX_DPPI10_CHANNELS_USED_BY_802154_DRV 0 125 #endif 126 #ifndef NRFX_DPPI10_GROUPS_USED_BY_802154_DRV 127 #define NRFX_DPPI10_GROUPS_USED_BY_802154_DRV 0 128 #endif 129 #ifndef NRFX_DPPI10_CHANNELS_USED_BY_MPSL 130 #define NRFX_DPPI10_CHANNELS_USED_BY_MPSL 0 131 #endif 132 #ifndef NRFX_DPPI10_GROUPS_USED_BY_MPSL 133 #define NRFX_DPPI10_GROUPS_USED_BY_MPSL 0 134 #endif 135 136 #ifndef NRFX_DPPI20_CHANNELS_USED_BY_BT_CTLR 137 #define NRFX_DPPI20_CHANNELS_USED_BY_BT_CTLR 0 138 #endif 139 #ifndef NRFX_DPPI20_GROUPS_USED_BY_BT_CTLR 140 #define NRFX_DPPI20_GROUPS_USED_BY_BT_CTLR 0 141 #endif 142 #ifndef NRFX_DPPI20_CHANNELS_USED_BY_802154_DRV 143 #define NRFX_DPPI20_CHANNELS_USED_BY_802154_DRV 0 144 #endif 145 #ifndef NRFX_DPPI20_GROUPS_USED_BY_802154_DRV 146 #define NRFX_DPPI20_GROUPS_USED_BY_802154_DRV 0 147 #endif 148 #ifndef NRFX_DPPI20_CHANNELS_USED_BY_MPSL 149 #define NRFX_DPPI20_CHANNELS_USED_BY_MPSL 0 150 #endif 151 #ifndef NRFX_DPPI20_GROUPS_USED_BY_MPSL 152 #define NRFX_DPPI20_GROUPS_USED_BY_MPSL 0 153 #endif 154 155 #ifndef NRFX_DPPI30_CHANNELS_USED_BY_BT_CTLR 156 #define NRFX_DPPI30_CHANNELS_USED_BY_BT_CTLR 0 157 #endif 158 #ifndef NRFX_DPPI30_GROUPS_USED_BY_BT_CTLR 159 #define NRFX_DPPI30_GROUPS_USED_BY_BT_CTLR 0 160 #endif 161 #ifndef NRFX_DPPI30_CHANNELS_USED_BY_802154_DRV 162 #define NRFX_DPPI30_CHANNELS_USED_BY_802154_DRV 0 163 #endif 164 #ifndef NRFX_DPPI30_GROUPS_USED_BY_802154_DRV 165 #define NRFX_DPPI30_GROUPS_USED_BY_802154_DRV 0 166 #endif 167 #ifndef NRFX_DPPI30_CHANNELS_USED_BY_MPSL 168 #define NRFX_DPPI30_CHANNELS_USED_BY_MPSL 0 169 #endif 170 #ifndef NRFX_DPPI30_GROUPS_USED_BY_MPSL 171 #define NRFX_DPPI30_GROUPS_USED_BY_MPSL 0 172 #endif 173 174 #ifndef NRFX_DPPI020_CHANNELS_USED_BY_BT_CTLR 175 #define NRFX_DPPI020_CHANNELS_USED_BY_BT_CTLR 0 176 #endif 177 #ifndef NRFX_DPPI020_GROUPS_USED_BY_BT_CTLR 178 #define NRFX_DPPI020_GROUPS_USED_BY_BT_CTLR 0 179 #endif 180 #ifndef NRFX_DPPI020_CHANNELS_USED_BY_802154_DRV 181 #define NRFX_DPPI020_CHANNELS_USED_BY_802154_DRV 0 182 #endif 183 #ifndef NRFX_DPPI020_GROUPS_USED_BY_802154_DRV 184 #define NRFX_DPPI020_GROUPS_USED_BY_802154_DRV 0 185 #endif 186 #ifndef NRFX_DPPI020_CHANNELS_USED_BY_MPSL 187 #define NRFX_DPPI020_CHANNELS_USED_BY_MPSL 0 188 #endif 189 #ifndef NRFX_DPPI020_GROUPS_USED_BY_MPSL 190 #define NRFX_DPPI020_GROUPS_USED_BY_MPSL 0 191 #endif 192 193 #ifndef NRFX_DPPI030_CHANNELS_USED_BY_BT_CTLR 194 #define NRFX_DPPI030_CHANNELS_USED_BY_BT_CTLR 0 195 #endif 196 #ifndef NRFX_DPPI030_GROUPS_USED_BY_BT_CTLR 197 #define NRFX_DPPI030_GROUPS_USED_BY_BT_CTLR 0 198 #endif 199 #ifndef NRFX_DPPI030_CHANNELS_USED_BY_802154_DRV 200 #define NRFX_DPPI030_CHANNELS_USED_BY_802154_DRV 0 201 #endif 202 #ifndef NRFX_DPPI030_GROUPS_USED_BY_802154_DRV 203 #define NRFX_DPPI030_GROUPS_USED_BY_802154_DRV 0 204 #endif 205 #ifndef NRFX_DPPI030_CHANNELS_USED_BY_MPSL 206 #define NRFX_DPPI030_CHANNELS_USED_BY_MPSL 0 207 #endif 208 #ifndef NRFX_DPPI030_GROUPS_USED_BY_MPSL 209 #define NRFX_DPPI030_GROUPS_USED_BY_MPSL 0 210 #endif 211 212 #ifndef NRFX_DPPI120_CHANNELS_USED_BY_BT_CTLR 213 #define NRFX_DPPI120_CHANNELS_USED_BY_BT_CTLR 0 214 #endif 215 #ifndef NRFX_DPPI120_GROUPS_USED_BY_BT_CTLR 216 #define NRFX_DPPI120_GROUPS_USED_BY_BT_CTLR 0 217 #endif 218 #ifndef NRFX_DPPI120_CHANNELS_USED_BY_802154_DRV 219 #define NRFX_DPPI120_CHANNELS_USED_BY_802154_DRV 0 220 #endif 221 #ifndef NRFX_DPPI120_GROUPS_USED_BY_802154_DRV 222 #define NRFX_DPPI120_GROUPS_USED_BY_802154_DRV 0 223 #endif 224 #ifndef NRFX_DPPI120_CHANNELS_USED_BY_MPSL 225 #define NRFX_DPPI120_CHANNELS_USED_BY_MPSL 0 226 #endif 227 #ifndef NRFX_DPPI120_GROUPS_USED_BY_MPSL 228 #define NRFX_DPPI120_GROUPS_USED_BY_MPSL 0 229 #endif 230 231 #ifndef NRFX_DPPI130_CHANNELS_USED_BY_BT_CTLR 232 #define NRFX_DPPI130_CHANNELS_USED_BY_BT_CTLR 0 233 #endif 234 #ifndef NRFX_DPPI130_GROUPS_USED_BY_BT_CTLR 235 #define NRFX_DPPI130_GROUPS_USED_BY_BT_CTLR 0 236 #endif 237 #ifndef NRFX_DPPI130_CHANNELS_USED_BY_802154_DRV 238 #define NRFX_DPPI130_CHANNELS_USED_BY_802154_DRV 0 239 #endif 240 #ifndef NRFX_DPPI130_GROUPS_USED_BY_802154_DRV 241 #define NRFX_DPPI130_GROUPS_USED_BY_802154_DRV 0 242 #endif 243 #ifndef NRFX_DPPI130_CHANNELS_USED_BY_MPSL 244 #define NRFX_DPPI130_CHANNELS_USED_BY_MPSL 0 245 #endif 246 #ifndef NRFX_DPPI130_GROUPS_USED_BY_MPSL 247 #define NRFX_DPPI130_GROUPS_USED_BY_MPSL 0 248 #endif 249 250 #ifndef NRFX_DPPI131_CHANNELS_USED_BY_BT_CTLR 251 #define NRFX_DPPI131_CHANNELS_USED_BY_BT_CTLR 0 252 #endif 253 #ifndef NRFX_DPPI131_GROUPS_USED_BY_BT_CTLR 254 #define NRFX_DPPI131_GROUPS_USED_BY_BT_CTLR 0 255 #endif 256 #ifndef NRFX_DPPI131_CHANNELS_USED_BY_802154_DRV 257 #define NRFX_DPPI131_CHANNELS_USED_BY_802154_DRV 0 258 #endif 259 #ifndef NRFX_DPPI131_GROUPS_USED_BY_802154_DRV 260 #define NRFX_DPPI131_GROUPS_USED_BY_802154_DRV 0 261 #endif 262 #ifndef NRFX_DPPI131_CHANNELS_USED_BY_MPSL 263 #define NRFX_DPPI131_CHANNELS_USED_BY_MPSL 0 264 #endif 265 #ifndef NRFX_DPPI131_GROUPS_USED_BY_MPSL 266 #define NRFX_DPPI131_GROUPS_USED_BY_MPSL 0 267 #endif 268 269 #ifndef NRFX_DPPI132_CHANNELS_USED_BY_BT_CTLR 270 #define NRFX_DPPI132_CHANNELS_USED_BY_BT_CTLR 0 271 #endif 272 #ifndef NRFX_DPPI132_GROUPS_USED_BY_BT_CTLR 273 #define NRFX_DPPI132_GROUPS_USED_BY_BT_CTLR 0 274 #endif 275 #ifndef NRFX_DPPI132_CHANNELS_USED_BY_802154_DRV 276 #define NRFX_DPPI132_CHANNELS_USED_BY_802154_DRV 0 277 #endif 278 #ifndef NRFX_DPPI132_GROUPS_USED_BY_802154_DRV 279 #define NRFX_DPPI132_GROUPS_USED_BY_802154_DRV 0 280 #endif 281 #ifndef NRFX_DPPI132_CHANNELS_USED_BY_MPSL 282 #define NRFX_DPPI132_CHANNELS_USED_BY_MPSL 0 283 #endif 284 #ifndef NRFX_DPPI132_GROUPS_USED_BY_MPSL 285 #define NRFX_DPPI132_GROUPS_USED_BY_MPSL 0 286 #endif 287 288 #ifndef NRFX_DPPI133_CHANNELS_USED_BY_BT_CTLR 289 #define NRFX_DPPI133_CHANNELS_USED_BY_BT_CTLR 0 290 #endif 291 #ifndef NRFX_DPPI133_GROUPS_USED_BY_BT_CTLR 292 #define NRFX_DPPI133_GROUPS_USED_BY_BT_CTLR 0 293 #endif 294 #ifndef NRFX_DPPI133_CHANNELS_USED_BY_802154_DRV 295 #define NRFX_DPPI133_CHANNELS_USED_BY_802154_DRV 0 296 #endif 297 #ifndef NRFX_DPPI133_GROUPS_USED_BY_802154_DRV 298 #define NRFX_DPPI133_GROUPS_USED_BY_802154_DRV 0 299 #endif 300 #ifndef NRFX_DPPI133_CHANNELS_USED_BY_MPSL 301 #define NRFX_DPPI133_CHANNELS_USED_BY_MPSL 0 302 #endif 303 #ifndef NRFX_DPPI133_GROUPS_USED_BY_MPSL 304 #define NRFX_DPPI133_GROUPS_USED_BY_MPSL 0 305 #endif 306 307 #ifndef NRFX_DPPI134_CHANNELS_USED_BY_BT_CTLR 308 #define NRFX_DPPI134_CHANNELS_USED_BY_BT_CTLR 0 309 #endif 310 #ifndef NRFX_DPPI134_GROUPS_USED_BY_BT_CTLR 311 #define NRFX_DPPI134_GROUPS_USED_BY_BT_CTLR 0 312 #endif 313 #ifndef NRFX_DPPI134_CHANNELS_USED_BY_802154_DRV 314 #define NRFX_DPPI134_CHANNELS_USED_BY_802154_DRV 0 315 #endif 316 #ifndef NRFX_DPPI134_GROUPS_USED_BY_802154_DRV 317 #define NRFX_DPPI134_GROUPS_USED_BY_802154_DRV 0 318 #endif 319 #ifndef NRFX_DPPI134_CHANNELS_USED_BY_MPSL 320 #define NRFX_DPPI134_CHANNELS_USED_BY_MPSL 0 321 #endif 322 #ifndef NRFX_DPPI134_GROUPS_USED_BY_MPSL 323 #define NRFX_DPPI134_GROUPS_USED_BY_MPSL 0 324 #endif 325 326 #ifndef NRFX_DPPI135_CHANNELS_USED_BY_BT_CTLR 327 #define NRFX_DPPI135_CHANNELS_USED_BY_BT_CTLR 0 328 #endif 329 #ifndef NRFX_DPPI135_GROUPS_USED_BY_BT_CTLR 330 #define NRFX_DPPI135_GROUPS_USED_BY_BT_CTLR 0 331 #endif 332 #ifndef NRFX_DPPI135_CHANNELS_USED_BY_802154_DRV 333 #define NRFX_DPPI135_CHANNELS_USED_BY_802154_DRV 0 334 #endif 335 #ifndef NRFX_DPPI135_GROUPS_USED_BY_802154_DRV 336 #define NRFX_DPPI135_GROUPS_USED_BY_802154_DRV 0 337 #endif 338 #ifndef NRFX_DPPI135_CHANNELS_USED_BY_MPSL 339 #define NRFX_DPPI135_CHANNELS_USED_BY_MPSL 0 340 #endif 341 #ifndef NRFX_DPPI135_GROUPS_USED_BY_MPSL 342 #define NRFX_DPPI135_GROUPS_USED_BY_MPSL 0 343 #endif 344 345 #ifndef NRFX_DPPI136_CHANNELS_USED_BY_BT_CTLR 346 #define NRFX_DPPI136_CHANNELS_USED_BY_BT_CTLR 0 347 #endif 348 #ifndef NRFX_DPPI136_GROUPS_USED_BY_BT_CTLR 349 #define NRFX_DPPI136_GROUPS_USED_BY_BT_CTLR 0 350 #endif 351 #ifndef NRFX_DPPI136_CHANNELS_USED_BY_802154_DRV 352 #define NRFX_DPPI136_CHANNELS_USED_BY_802154_DRV 0 353 #endif 354 #ifndef NRFX_DPPI136_GROUPS_USED_BY_802154_DRV 355 #define NRFX_DPPI136_GROUPS_USED_BY_802154_DRV 0 356 #endif 357 #ifndef NRFX_DPPI136_CHANNELS_USED_BY_MPSL 358 #define NRFX_DPPI136_CHANNELS_USED_BY_MPSL 0 359 #endif 360 #ifndef NRFX_DPPI136_GROUPS_USED_BY_MPSL 361 #define NRFX_DPPI136_GROUPS_USED_BY_MPSL 0 362 #endif 363 364 #ifndef NRFX_PPI_CHANNELS_USED_BY_BT_CTLR 365 #define NRFX_PPI_CHANNELS_USED_BY_BT_CTLR 0 366 #endif 367 #ifndef NRFX_PPI_GROUPS_USED_BY_BT_CTLR 368 #define NRFX_PPI_GROUPS_USED_BY_BT_CTLR 0 369 #endif 370 371 #ifndef NRFX_PPI_CHANNELS_USED_BY_802154_DRV 372 #define NRFX_PPI_CHANNELS_USED_BY_802154_DRV 0 373 #endif 374 #ifndef NRFX_PPI_GROUPS_USED_BY_802154_DRV 375 #define NRFX_PPI_GROUPS_USED_BY_802154_DRV 0 376 #endif 377 378 #ifndef NRFX_PPI_CHANNELS_USED_BY_MPSL 379 #define NRFX_PPI_CHANNELS_USED_BY_MPSL 0 380 #endif 381 #ifndef NRFX_PPI_GROUPS_USED_BY_MPSL 382 #define NRFX_PPI_GROUPS_USED_BY_MPSL 0 383 #endif 384 385 #ifndef NRFX_PPIB_00_10_CHANNELS_USED_BY_BT_CTLR 386 #define NRFX_PPIB_00_10_CHANNELS_USED_BY_BT_CTLR 0 387 #endif 388 #ifndef NRFX_PPIB_00_10_CHANNELS_USED_BY_802154_DRV 389 #define NRFX_PPIB_00_10_CHANNELS_USED_BY_802154_DRV 0 390 #endif 391 #ifndef NRFX_PPIB_00_10_CHANNELS_USED_BY_MPSL 392 #define NRFX_PPIB_00_10_CHANNELS_USED_BY_MPSL 0 393 #endif 394 395 #ifndef NRFX_PPIB_01_20_CHANNELS_USED_BY_BT_CTLR 396 #define NRFX_PPIB_01_20_CHANNELS_USED_BY_BT_CTLR 0 397 #endif 398 #ifndef NRFX_PPIB_01_20_CHANNELS_USED_BY_802154_DRV 399 #define NRFX_PPIB_01_20_CHANNELS_USED_BY_802154_DRV 0 400 #endif 401 #ifndef NRFX_PPIB_01_20_CHANNELS_USED_BY_MPSL 402 #define NRFX_PPIB_01_20_CHANNELS_USED_BY_MPSL 0 403 #endif 404 405 #ifndef NRFX_PPIB_11_21_CHANNELS_USED_BY_BT_CTLR 406 #define NRFX_PPIB_11_21_CHANNELS_USED_BY_BT_CTLR 0 407 #endif 408 #ifndef NRFX_PPIB_11_21_CHANNELS_USED_BY_802154_DRV 409 #define NRFX_PPIB_11_21_CHANNELS_USED_BY_802154_DRV 0 410 #endif 411 #ifndef NRFX_PPIB_11_21_CHANNELS_USED_BY_MPSL 412 #define NRFX_PPIB_11_21_CHANNELS_USED_BY_MPSL 0 413 #endif 414 415 #ifndef NRFX_PPIB_22_30_CHANNELS_USED_BY_BT_CTLR 416 #define NRFX_PPIB_22_30_CHANNELS_USED_BY_BT_CTLR 0 417 #endif 418 #ifndef NRFX_PPIB_22_30_CHANNELS_USED_BY_802154_DRV 419 #define NRFX_PPIB_22_30_CHANNELS_USED_BY_802154_DRV 0 420 #endif 421 #ifndef NRFX_PPIB_22_30_CHANNELS_USED_BY_MPSL 422 #define NRFX_PPIB_22_30_CHANNELS_USED_BY_MPSL 0 423 #endif 424 425 #ifndef NRFX_PPIB_02_03_CHANNELS_USED_BY_BT_CTLR 426 #define NRFX_PPIB_02_03_CHANNELS_USED_BY_BT_CTLR 0 427 #endif 428 #ifndef NRFX_PPIB_02_03_CHANNELS_USED_BY_802154_DRV 429 #define NRFX_PPIB_02_03_CHANNELS_USED_BY_802154_DRV 0 430 #endif 431 #ifndef NRFX_PPIB_02_03_CHANNELS_USED_BY_MPSL 432 #define NRFX_PPIB_02_03_CHANNELS_USED_BY_MPSL 0 433 #endif 434 435 #ifndef NRFX_PPIB_04_12_CHANNELS_USED_BY_BT_CTLR 436 #define NRFX_PPIB_04_12_CHANNELS_USED_BY_BT_CTLR 0 437 #endif 438 #ifndef NRFX_PPIB_04_12_CHANNELS_USED_BY_802154_DRV 439 #define NRFX_PPIB_04_12_CHANNELS_USED_BY_802154_DRV 0 440 #endif 441 #ifndef NRFX_PPIB_04_12_CHANNELS_USED_BY_MPSL 442 #define NRFX_PPIB_04_12_CHANNELS_USED_BY_MPSL 0 443 #endif 444 445 #ifndef NRFX_PPIB_020_030_CHANNELS_USED_BY_BT_CTLR 446 #define NRFX_PPIB_020_030_CHANNELS_USED_BY_BT_CTLR 0 447 #endif 448 #ifndef NRFX_PPIB_020_030_CHANNELS_USED_BY_802154_DRV 449 #define NRFX_PPIB_020_030_CHANNELS_USED_BY_802154_DRV 0 450 #endif 451 #ifndef NRFX_PPIB_020_030_CHANNELS_USED_BY_MPSL 452 #define NRFX_PPIB_020_030_CHANNELS_USED_BY_MPSL 0 453 #endif 454 455 /** @brief Bitmask that defines DPPI channels that are reserved for use outside 456 * of the nrfx library. 457 */ 458 #define NRFX_DPPI0_CHANNELS_USED \ 459 (NRFX_DPPI0_CHANNELS_USED_BY_BT_CTLR | NRFX_DPPI0_CHANNELS_USED_BY_802154_DRV | \ 460 NRFX_DPPI0_CHANNELS_USED_BY_MPSL) 461 462 /** @brief Bitmask that defines DPPI groups that are reserved for use outside 463 * of the nrfx library. 464 */ 465 #define NRFX_DPPI0_GROUPS_USED \ 466 (NRFX_DPPI0_GROUPS_USED_BY_BT_CTLR | NRFX_DPPI0_GROUPS_USED_BY_802154_DRV | \ 467 NRFX_DPPI0_GROUPS_USED_BY_MPSL) 468 469 /** @brief Bitmask that defines DPPI channels that are reserved for use outside 470 * of the nrfx library. 471 */ 472 #define NRFX_DPPI00_CHANNELS_USED \ 473 (NRFX_DPPI00_CHANNELS_USED_BY_BT_CTLR | NRFX_DPPI00_CHANNELS_USED_BY_802154_DRV | \ 474 NRFX_DPPI00_CHANNELS_USED_BY_MPSL) 475 476 /** @brief Bitmask that defines DPPI groups that are reserved for use outside 477 * of the nrfx library. 478 */ 479 #define NRFX_DPPI00_GROUPS_USED \ 480 (NRFX_DPPI00_GROUPS_USED_BY_BT_CTLR | NRFX_DPPI00_GROUPS_USED_BY_802154_DRV | \ 481 NRFX_DPPI00_GROUPS_USED_BY_MPSL) 482 483 /** @brief Bitmask that defines DPPI channels that are reserved for use outside 484 * of the nrfx library. 485 */ 486 #define NRFX_DPPI10_CHANNELS_USED \ 487 (NRFX_DPPI10_CHANNELS_USED_BY_BT_CTLR | NRFX_DPPI10_CHANNELS_USED_BY_802154_DRV | \ 488 NRFX_DPPI10_CHANNELS_USED_BY_MPSL) 489 490 /** @brief Bitmask that defines DPPI groups that are reserved for use outside 491 * of the nrfx library. 492 */ 493 #define NRFX_DPPI10_GROUPS_USED \ 494 (NRFX_DPPI10_GROUPS_USED_BY_BT_CTLR | NRFX_DPPI10_GROUPS_USED_BY_802154_DRV | \ 495 NRFX_DPPI10_GROUPS_USED_BY_MPSL) 496 497 /** @brief Bitmask that defines DPPI channels that are reserved for use outside 498 * of the nrfx library. 499 */ 500 #define NRFX_DPPI20_CHANNELS_USED \ 501 (NRFX_DPPI20_CHANNELS_USED_BY_BT_CTLR | NRFX_DPPI20_CHANNELS_USED_BY_802154_DRV | \ 502 NRFX_DPPI20_CHANNELS_USED_BY_MPSL) 503 504 /** @brief Bitmask that defines DPPI groups that are reserved for use outside 505 * of the nrfx library. 506 */ 507 #define NRFX_DPPI20_GROUPS_USED \ 508 (NRFX_DPPI20_GROUPS_USED_BY_BT_CTLR | NRFX_DPPI20_GROUPS_USED_BY_802154_DRV | \ 509 NRFX_DPPI20_GROUPS_USED_BY_MPSL) 510 511 /** @brief Bitmask that defines DPPI channels that are reserved for use outside 512 * of the nrfx library. 513 */ 514 #define NRFX_DPPI30_CHANNELS_USED \ 515 (NRFX_DPPI30_CHANNELS_USED_BY_BT_CTLR | NRFX_DPPI30_CHANNELS_USED_BY_802154_DRV | \ 516 NRFX_DPPI30_CHANNELS_USED_BY_MPSL) 517 518 /** @brief Bitmask that defines DPPI groups that are reserved for use outside 519 * of the nrfx library. 520 */ 521 #define NRFX_DPPI30_GROUPS_USED \ 522 (NRFX_DPPI30_GROUPS_USED_BY_BT_CTLR | NRFX_DPPI30_GROUPS_USED_BY_802154_DRV | \ 523 NRFX_DPPI30_GROUPS_USED_BY_MPSL) 524 525 /** @brief Bitmask that defines DPPI channels that are reserved for use outside 526 * of the nrfx library. 527 */ 528 #define NRFX_DPPI020_CHANNELS_USED \ 529 (NRFX_DPPI020_CHANNELS_USED_BY_BT_CTLR | NRFX_DPPI020_CHANNELS_USED_BY_802154_DRV | \ 530 NRFX_DPPI020_CHANNELS_USED_BY_MPSL) 531 532 /** @brief Bitmask that defines DPPI groups that are reserved for use outside 533 * of the nrfx library. 534 */ 535 #define NRFX_DPPI020_GROUPS_USED \ 536 (NRFX_DPPI020_GROUPS_USED_BY_BT_CTLR | NRFX_DPPI020_GROUPS_USED_BY_802154_DRV | \ 537 NRFX_DPPI020_GROUPS_USED_BY_MPSL) 538 539 /** @brief Bitmask that defines DPPI channels that are reserved for use outside 540 * of the nrfx library. 541 */ 542 #define NRFX_DPPI030_CHANNELS_USED \ 543 (NRFX_DPPI030_CHANNELS_USED_BY_BT_CTLR | NRFX_DPPI030_CHANNELS_USED_BY_802154_DRV | \ 544 NRFX_DPPI030_CHANNELS_USED_BY_MPSL) 545 546 /** @brief Bitmask that defines DPPI groups that are reserved for use outside 547 * of the nrfx library. 548 */ 549 #define NRFX_DPPI030_GROUPS_USED \ 550 (NRFX_DPPI030_GROUPS_USED_BY_BT_CTLR | NRFX_DPPI030_GROUPS_USED_BY_802154_DRV | \ 551 NRFX_DPPI030_GROUPS_USED_BY_MPSL) 552 553 /** @brief Bitmask that defines DPPI channels that are reserved for use outside 554 * of the nrfx library. 555 */ 556 #define NRFX_DPPI120_CHANNELS_USED \ 557 (NRFX_DPPI120_CHANNELS_USED_BY_BT_CTLR | NRFX_DPPI120_CHANNELS_USED_BY_802154_DRV | \ 558 NRFX_DPPI120_CHANNELS_USED_BY_MPSL) 559 560 /** @brief Bitmask that defines DPPI groups that are reserved for use outside 561 * of the nrfx library. 562 */ 563 #define NRFX_DPPI120_GROUPS_USED \ 564 (NRFX_DPPI120_GROUPS_USED_BY_BT_CTLR | NRFX_DPPI120_GROUPS_USED_BY_802154_DRV | \ 565 NRFX_DPPI120_GROUPS_USED_BY_MPSL) 566 567 /** @brief Bitmask that defines DPPI channels that are reserved for use outside 568 * of the nrfx library. 569 */ 570 #define NRFX_DPPI130_CHANNELS_USED \ 571 (NRFX_DPPI130_CHANNELS_USED_BY_BT_CTLR | NRFX_DPPI130_CHANNELS_USED_BY_802154_DRV | \ 572 NRFX_DPPI130_CHANNELS_USED_BY_MPSL) 573 574 /** @brief Bitmask that defines DPPI groups that are reserved for use outside 575 * of the nrfx library. 576 */ 577 #define NRFX_DPPI130_GROUPS_USED \ 578 (NRFX_DPPI130_GROUPS_USED_BY_BT_CTLR | NRFX_DPPI130_GROUPS_USED_BY_802154_DRV | \ 579 NRFX_DPPI130_GROUPS_USED_BY_MPSL) 580 581 /** @brief Bitmask that defines DPPI channels that are reserved for use outside 582 * of the nrfx library. 583 */ 584 #define NRFX_DPPI131_CHANNELS_USED \ 585 (NRFX_DPPI131_CHANNELS_USED_BY_BT_CTLR | NRFX_DPPI131_CHANNELS_USED_BY_802154_DRV | \ 586 NRFX_DPPI131_CHANNELS_USED_BY_MPSL) 587 588 /** @brief Bitmask that defines DPPI groups that are reserved for use outside 589 * of the nrfx library. 590 */ 591 #define NRFX_DPPI131_GROUPS_USED \ 592 (NRFX_DPPI131_GROUPS_USED_BY_BT_CTLR | NRFX_DPPI131_GROUPS_USED_BY_802154_DRV | \ 593 NRFX_DPPI131_GROUPS_USED_BY_MPSL) 594 595 /** @brief Bitmask that defines DPPI channels that are reserved for use outside 596 * of the nrfx library. 597 */ 598 #define NRFX_DPPI132_CHANNELS_USED \ 599 (NRFX_DPPI132_CHANNELS_USED_BY_BT_CTLR | NRFX_DPPI132_CHANNELS_USED_BY_802154_DRV | \ 600 NRFX_DPPI132_CHANNELS_USED_BY_MPSL) 601 602 /** @brief Bitmask that defines DPPI groups that are reserved for use outside 603 * of the nrfx library. 604 */ 605 #define NRFX_DPPI132_GROUPS_USED \ 606 (NRFX_DPPI132_GROUPS_USED_BY_BT_CTLR | NRFX_DPPI132_GROUPS_USED_BY_802154_DRV | \ 607 NRFX_DPPI132_GROUPS_USED_BY_MPSL) 608 609 /** @brief Bitmask that defines DPPI channels that are reserved for use outside 610 * of the nrfx library. 611 */ 612 #define NRFX_DPPI133_CHANNELS_USED \ 613 (NRFX_DPPI133_CHANNELS_USED_BY_BT_CTLR | NRFX_DPPI133_CHANNELS_USED_BY_802154_DRV | \ 614 NRFX_DPPI133_CHANNELS_USED_BY_MPSL) 615 616 /** @brief Bitmask that defines DPPI groups that are reserved for use outside 617 * of the nrfx library. 618 */ 619 #define NRFX_DPPI133_GROUPS_USED \ 620 (NRFX_DPPI133_GROUPS_USED_BY_BT_CTLR | NRFX_DPPI133_GROUPS_USED_BY_802154_DRV | \ 621 NRFX_DPPI133_GROUPS_USED_BY_MPSL) 622 623 /** @brief Bitmask that defines DPPI channels that are reserved for use outside 624 * of the nrfx library. 625 */ 626 #define NRFX_DPPI134_CHANNELS_USED \ 627 (NRFX_DPPI134_CHANNELS_USED_BY_BT_CTLR | NRFX_DPPI134_CHANNELS_USED_BY_802154_DRV | \ 628 NRFX_DPPI134_CHANNELS_USED_BY_MPSL) 629 630 /** @brief Bitmask that defines DPPI groups that are reserved for use outside 631 * of the nrfx library. 632 */ 633 #define NRFX_DPPI134_GROUPS_USED \ 634 (NRFX_DPPI134_GROUPS_USED_BY_BT_CTLR | NRFX_DPPI134_GROUPS_USED_BY_802154_DRV | \ 635 NRFX_DPPI134_GROUPS_USED_BY_MPSL) 636 637 /** @brief Bitmask that defines DPPI channels that are reserved for use outside 638 * of the nrfx library. 639 */ 640 #define NRFX_DPPI135_CHANNELS_USED \ 641 (NRFX_DPPI135_CHANNELS_USED_BY_BT_CTLR | NRFX_DPPI135_CHANNELS_USED_BY_802154_DRV | \ 642 NRFX_DPPI135_CHANNELS_USED_BY_MPSL) 643 644 /** @brief Bitmask that defines DPPI groups that are reserved for use outside 645 * of the nrfx library. 646 */ 647 #define NRFX_DPPI135_GROUPS_USED \ 648 (NRFX_DPPI135_GROUPS_USED_BY_BT_CTLR | NRFX_DPPI135_GROUPS_USED_BY_802154_DRV | \ 649 NRFX_DPPI135_GROUPS_USED_BY_MPSL) 650 651 /** @brief Bitmask that defines DPPI channels that are reserved for use outside 652 * of the nrfx library. 653 */ 654 #define NRFX_DPPI136_CHANNELS_USED \ 655 (NRFX_DPPI136_CHANNELS_USED_BY_BT_CTLR | NRFX_DPPI136_CHANNELS_USED_BY_802154_DRV | \ 656 NRFX_DPPI136_CHANNELS_USED_BY_MPSL) 657 658 /** @brief Bitmask that defines DPPI groups that are reserved for use outside 659 * of the nrfx library. 660 */ 661 #define NRFX_DPPI136_GROUPS_USED \ 662 (NRFX_DPPI136_GROUPS_USED_BY_BT_CTLR | NRFX_DPPI136_GROUPS_USED_BY_802154_DRV | \ 663 NRFX_DPPI136_GROUPS_USED_BY_MPSL) 664 665 /** @brief Bitmask that defines PPI channels that are reserved for use outside 666 * of the nrfx library. 667 */ 668 #define NRFX_PPI_CHANNELS_USED \ 669 (NRFX_PPI_CHANNELS_USED_BY_BT_CTLR | NRFX_PPI_CHANNELS_USED_BY_802154_DRV | \ 670 NRFX_PPI_CHANNELS_USED_BY_MPSL) 671 672 #define NRFX_DPPI_CHANNELS_USED NRFX_DPPI0_CHANNELS_USED 673 #define NRFX_DPPI_GROUPS_USED NRFX_DPPI0_GROUPS_USED 674 675 /** @brief Bitmask that defines PPI groups that are reserved for use outside 676 * of the nrfx library. 677 */ 678 #define NRFX_PPI_GROUPS_USED \ 679 (NRFX_PPI_GROUPS_USED_BY_BT_CTLR | NRFX_PPI_GROUPS_USED_BY_802154_DRV | \ 680 NRFX_PPI_GROUPS_USED_BY_MPSL) 681 682 #define NRFX_PPIB_INTERCONNECT_00_10_CHANNELS_USED \ 683 (NRFX_PPIB_00_10_CHANNELS_USED_BY_BT_CTLR | NRFX_PPIB_00_10_CHANNELS_USED_BY_802154_DRV | \ 684 NRFX_PPIB_00_10_CHANNELS_USED_BY_MPSL) 685 686 #define NRFX_PPIB_INTERCONNECT_01_20_CHANNELS_USED \ 687 (NRFX_PPIB_01_20_CHANNELS_USED_BY_BT_CTLR | NRFX_PPIB_01_20_CHANNELS_USED_BY_802154_DRV | \ 688 NRFX_PPIB_01_20_CHANNELS_USED_BY_MPSL) 689 690 #define NRFX_PPIB_INTERCONNECT_11_21_CHANNELS_USED \ 691 (NRFX_PPIB_11_21_CHANNELS_USED_BY_BT_CTLR | NRFX_PPIB_11_21_CHANNELS_USED_BY_802154_DRV | \ 692 NRFX_PPIB_11_21_CHANNELS_USED_BY_MPSL) 693 694 #define NRFX_PPIB_INTERCONNECT_22_30_CHANNELS_USED \ 695 (NRFX_PPIB_22_30_CHANNELS_USED_BY_BT_CTLR | NRFX_PPIB_22_30_CHANNELS_USED_BY_802154_DRV | \ 696 NRFX_PPIB_22_30_CHANNELS_USED_BY_MPSL) 697 698 #define NRFX_PPIB_INTERCONNECT_02_03_CHANNELS_USED \ 699 (NRFX_PPIB_02_03_CHANNELS_USED_BY_BT_CTLR | NRFX_PPIB_02_03_CHANNELS_USED_BY_802154_DRV | \ 700 NRFX_PPIB_02_03_CHANNELS_USED_BY_MPSL) 701 702 #define NRFX_PPIB_INTERCONNECT_04_12_CHANNELS_USED \ 703 (NRFX_PPIB_04_12_CHANNELS_USED_BY_BT_CTLR | NRFX_PPIB_04_12_CHANNELS_USED_BY_802154_DRV | \ 704 NRFX_PPIB_04_12_CHANNELS_USED_BY_MPSL) 705 706 #define NRFX_PPIB_INTERCONNECT_020_030_CHANNELS_USED \ 707 (NRFX_PPIB_020_030_CHANNELS_USED_BY_BT_CTLR | \ 708 NRFX_PPIB_020_030_CHANNELS_USED_BY_802154_DRV | NRFX_PPIB_020_030_CHANNELS_USED_BY_MPSL) 709 710 #endif /* NRFX_CONFIG_RESERVED_RESOURCES_H__ */ 711