nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
event_proxy_def.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#include "event_proxy.h"
8
9/* This configuration file is included only once from event_proxy module and
10 * holds information about the proxy channels and subscribed events.
11 */
12
13/* This structure enforces the header file is included only once in the build.
14 * Violating this requirement triggers a multiple definition error at link time.
15 */
17
18#include <zephyr/device.h>
19#include <zephyr/kernel.h>
20
22
23
24static const struct event_type *remote_events[] = {
26};
27
28static const struct event_proxy_config cfg = {
29 .ipc = DEVICE_DT_GET(DT_NODELABEL(ipc1)),
30 .events_cnt = ARRAY_SIZE(remote_events),
31 .events = remote_events,
32};
33
34static const struct event_proxy_config *proxy_configs[CONFIG_EVENT_MANAGER_PROXY_CH_COUNT] = {
35 &cfg,
36};
static const struct event_type * remote_events[]
Definition event_proxy_def.h:24
const struct @17 event_proxy_def_include_once
static const struct event_proxy_config * proxy_configs[CONFIG_EVENT_MANAGER_PROXY_CH_COUNT]
Definition event_proxy_def.h:34
static const struct event_proxy_config cfg
Definition event_proxy_def.h:28
Definition event_proxy.h:12
Sensor data aggregator event.
Definition sensor_data_aggregator_event.h:27