Zephyr Project API 4.1.0
A Scalable Open Source RTOS
|
#include <stddef.h>
#include <stdint.h>
#include <zephyr/kernel.h>
#include <zephyr/drivers/mbox.h>
#include <zephyr/ipc/ipc_service.h>
#include <zephyr/ipc/pbuf.h>
#include <zephyr/sys/atomic.h>
Go to the source code of this file.
Data Structures | |
struct | icmsg_config_t |
struct | icmsg_data_t |
Enumerations | |
enum | icmsg_state { ICMSG_STATE_OFF , ICMSG_STATE_INITIALIZING_SID_DISABLED , ICMSG_STATE_INITIALIZING_SID_ENABLED , ICMSG_STATE_INITIALIZING_SID_DETECT , ICMSG_STATE_DISCONNECTED , ICMSG_STATE_CONNECTED_SID_DISABLED , ICMSG_STATE_CONNECTED_SID_ENABLED } |
enum | icmsg_unbound_mode { ICMSG_UNBOUND_MODE_DISABLE = ICMSG_STATE_INITIALIZING_SID_DISABLED , ICMSG_UNBOUND_MODE_ENABLE = ICMSG_STATE_INITIALIZING_SID_ENABLED , ICMSG_UNBOUND_MODE_DETECT = ICMSG_STATE_INITIALIZING_SID_DETECT } |
Functions | |
int | icmsg_open (const struct icmsg_config_t *conf, struct icmsg_data_t *dev_data, const struct ipc_service_cb *cb, void *ctx) |
Open an icmsg instance. | |
int | icmsg_close (const struct icmsg_config_t *conf, struct icmsg_data_t *dev_data) |
Close an icmsg instance. | |
int | icmsg_send (const struct icmsg_config_t *conf, struct icmsg_data_t *dev_data, const void *msg, size_t len) |
Send a message to the remote icmsg instance. | |