Zephyr API Documentation
4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
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
41
int
rpmsg_service_register_endpoint
(
const
char
*name, rpmsg_ept_cb cb);
42
54
int
rpmsg_service_send
(
int
endpoint_id,
const
void
*data,
size_t
len);
55
68
bool
rpmsg_service_endpoint_is_bound
(
int
endpoint_id);
69
75
#ifdef __cplusplus
76
}
77
#endif
78
79
#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.
zephyr
ipc
rpmsg_service.h
Generated on Sun Dec 22 2024 03:09:40 for Zephyr API Documentation by
1.12.0