nrfxlib API 3.3.99
Loading...
Searching...
No Matches
mpsl_hwres_ppi.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
19#ifndef MPSL_HWRES_PPI_H__
20#define MPSL_HWRES_PPI_H__
21
22#include <stdbool.h>
23#include <stdint.h>
24#include <nrfx.h>
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30#if defined(DPPI_PRESENT) || defined(DOXYGEN)
31
42bool mpsl_hwres_dppi_channel_alloc(NRF_DPPIC_Type * p_dppic, uint8_t * p_dppi_ch);
43
44#endif /* DPPI_PRESENT */
45
46#if defined(PPIB_PRESENT) || defined(DOXYGEN)
47
60bool mpsl_hwres_ppib_channel_alloc(NRF_PPIB_Type * p_ppib, uint8_t * p_ppib_ch);
61
62#endif /* PPIB_PRESENT */
63
64#ifdef __cplusplus
65}
66#endif
67
68#endif // MPSL_HWRES_PPI_H__
69
bool mpsl_hwres_dppi_channel_alloc(NRF_DPPIC_Type *p_dppic, uint8_t *p_dppi_ch)
Allocate a DPPI channel of a DPPIC controller instance.
bool mpsl_hwres_ppib_channel_alloc(NRF_PPIB_Type *p_ppib, uint8_t *p_ppib_ch)
Allocate a PPIB channel of a PPIB-to-PPIB interconnection.