Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
rpmsg_mi_cb Struct Reference

Event callback structure. More...

#include <rpmsg_multi_instance.h>

Data Fields

void(* bound )(void *priv)
 Bind was successful. More...
 
void(* received )(const void *data, size_t len, void *priv)
 New packet arrived. More...
 

Detailed Description

Event callback structure.

It is registered during endpoint registration. This structure is packed into the endpoint configuration.

Field Documentation

◆ bound

void(* rpmsg_mi_cb::bound) (void *priv)

Bind was successful.

Parameters
privPrivate user data.

◆ received

void(* rpmsg_mi_cb::received) (const void *data, size_t len, void *priv)

New packet arrived.

Parameters
dataPointer to data buffer.
lenLength of data.
privPrivate user data.

The documentation for this struct was generated from the following file: