nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
event_manager_proxy.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
11#ifndef _EVENT_MANAGER_PROXY_H_
12#define _EVENT_MANAGER_PROXY_H_
13
14#include <zephyr/kernel.h>
15#include <zephyr/types.h>
16#include <zephyr/device.h>
17#include <app_event_manager.h>
18
34#define EVENT_MANAGER_PROXY_SUBSCRIBE(instance, ename) \
35 event_manager_proxy_subscribe((instance), APP_EVENT_ID(ename))
36
54int event_manager_proxy_add_remote(const struct device *instance);
55
80 const struct device *instance,
81 const struct event_type *local_event_id);
82
96
114
116#endif /* _EVENT_MANAGER_PROXY_H_ */
Application Event Manager header.
int event_manager_proxy_subscribe(const struct device *instance, const struct event_type *local_event_id)
Subscribe for the remote event.
int event_manager_proxy_wait_for_remotes(k_timeout_t timeout)
Wait for all the remote cores to report their readiness.
int event_manager_proxy_start(void)
Start events transfer.
int event_manager_proxy_add_remote(const struct device *instance)
Add remote core communication channel.