nRF Connect SDK API
2.7.99
Loading...
Searching...
No Matches
main.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 MAIN_H__
8
#define MAIN_H__
9
10
#include <zephyr/kernel.h>
11
#include <
drivers/gpio/nrfe_gpio.h
>
12
13
#if !defined(CONFIG_GPIO_NRFE_EGPIO_BACKEND_ICMSG) && !defined(CONFIG_GPIO_NRFE_EGPIO_BACKEND_MBOX)
14
#error "Define communication backend type"
15
#endif
16
17
void
process_packet
(
nrfe_gpio_data_packet_t
*packet);
18
int
backend_init
(
void
);
19
20
#endif
/* MAIN_H__ */
backend_init
int backend_init(void)
process_packet
void process_packet(nrfe_gpio_data_packet_t *packet)
nrfe_gpio.h
nrfe_gpio_data_packet_t
eGPIO data packet.
Definition:
nrfe_gpio.h:26
applications
sdp
gpio
include
main.h
Generated on Fri Oct 4 2024 19:07:53 for nRF Connect SDK API by
1.9.6