Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
icmsg.h File Reference
#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_BUSY , ICMSG_STATE_READY }
 

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.