Zephyr API Documentation
3.0.0
A Scalable Open Source RTOS
3.0.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
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 Mon Feb 21 2022 22:43:01 for Zephyr API Documentation by
1.9.2