Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
rpmsg_service.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2020 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_RPMSG_SERVICE_RPMSG_SERVICE_H_
8
#define ZEPHYR_INCLUDE_RPMSG_SERVICE_RPMSG_SERVICE_H_
9
10
#include <openamp/open_amp.h>
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
40
int
rpmsg_service_register_endpoint
(
const
char
*name, rpmsg_ept_cb cb);
41
53
int
rpmsg_service_send
(
int
endpoint_id,
const
void
*
data
,
size_t
len);
54
67
bool
rpmsg_service_endpoint_is_bound
(
int
endpoint_id);
68
74
#ifdef __cplusplus
75
}
76
#endif
77
78
#endif
/* ZEPHYR_INCLUDE_RPMSG_SERVICE_RPMSG_SERVICE_H_ */
rpmsg_service_register_endpoint
int rpmsg_service_register_endpoint(const char *name, rpmsg_ept_cb cb)
Register IPC endpoint.
rpmsg_service_send
int rpmsg_service_send(int endpoint_id, const void *data, size_t len)
Send data using given IPC endpoint.
rpmsg_service_endpoint_is_bound
bool rpmsg_service_endpoint_is_bound(int endpoint_id)
Check if endpoint is bound.
data
static fdata_t data[2]
Definition:
test_fifo_contexts.c:15
include
ipc
rpmsg_service.h
Generated on Sun Oct 9 2022 09:21:56 for Zephyr API Documentation by
1.9.4