nRF Connect SDK API
3.4.99
Toggle main menu visibility
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
25
34
#define EVENT_MANAGER_PROXY_SUBSCRIBE(instance, ename) \
35
event_manager_proxy_subscribe((instance), APP_EVENT_ID(ename))
36
54
int
event_manager_proxy_add_remote
(
const
struct
device *instance);
55
79
int
event_manager_proxy_subscribe
(
80
const
struct
device *instance,
81
const
struct
event_type *local_event_id);
82
95
int
event_manager_proxy_start
(
void
);
96
113
int
event_manager_proxy_wait_for_remotes
(k_timeout_t timeout);
114
116
#endif
/* _EVENT_MANAGER_PROXY_H_ */
app_event_manager.h
Application Event Manager header.
event_manager_proxy_subscribe
int event_manager_proxy_subscribe(const struct device *instance, const struct event_type *local_event_id)
Subscribe for the remote event.
event_manager_proxy_wait_for_remotes
int event_manager_proxy_wait_for_remotes(k_timeout_t timeout)
Wait for all the remote cores to report their readiness.
event_manager_proxy_start
int event_manager_proxy_start(void)
Start events transfer.
event_manager_proxy_add_remote
int event_manager_proxy_add_remote(const struct device *instance)
Add remote core communication channel.
include
event_manager_proxy.h
Generated on
for nRF Connect SDK API by
1.17.0