nRF Connect SDK API
3.3.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
10
#include <
drivers/gpio/hpf_gpio.h
>
11
12
#if !defined(CONFIG_HPF_GPIO_BACKEND_ICMSG) && \
13
!defined(CONFIG_HPF_GPIO_BACKEND_MBOX) && \
14
!defined(CONFIG_HPF_GPIO_BACKEND_ICBMSG)
15
#error "Define communication backend type"
16
#endif
17
23
typedef
void (*
backend_callback_t
)(
hpf_gpio_data_packet_t
*packet);
24
30
int
backend_init
(
backend_callback_t
callback);
31
32
33
#endif
/* BACKEND_H__ */
backend_init
int backend_init(backend_callback_t callback)
Initialize backend.
backend_callback_t
void(* backend_callback_t)(hpf_gpio_data_packet_t *packet)
Callback function called by backend when new packet arrives.
Definition
backend.h:23
hpf_gpio.h
hpf_gpio_data_packet_t
eGPIO data packet.
Definition
hpf_gpio.h:27
applications
hpf
gpio
src
backend
backend.h
Generated on Wed Jun 10 2026 17:22:24 for nRF Connect SDK API by
1.12.0