nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
backend.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef _BACKEND_H__
8#define _BACKEND_H__
9
11
12#if !IS_ENABLED(CONFIG_GPIO_NRFE_EGPIO_BACKEND_ICMSG) && \
13 !IS_ENABLED(CONFIG_GPIO_NRFE_EGPIO_BACKEND_MBOX) && \
14 !IS_ENABLED(CONFIG_GPIO_NRFE_EGPIO_BACKEND_ICBMSG)
15#error "Define communication backend type"
16#endif
17
24
31
32
33#endif /* BACKEND_H__ */
int backend_init(backend_callback_t callback)
Initialize backend.
void(* backend_callback_t)(nrfe_gpio_data_packet_t *packet)
Callback function called by backend when new packet arrives.
Definition backend.h:23
eGPIO data packet.
Definition nrfe_gpio.h:26