Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mpipe_message.h File Reference

Bus message: what an element reports to the application. More...

Go to the source code of this file.

Data Structures

struct  mpipe_message
 Message structure carrying type and origin of the message. More...

Macros

#define MPIPE_MESSAGE_ANY   UINT32_MAX
 Filter mask matching any message type.

Enumerations

enum  mpipe_message_type { MPIPE_MESSAGE_UNKNOWN = 0 , MPIPE_MESSAGE_EOS = BIT(0) , MPIPE_MESSAGE_ERROR = BIT(1) }
 Message types, usable as bitmask filters. More...
enum  mpipe_error_domain {
  MPIPE_ERROR_FAILED = 0 , MPIPE_ERROR_CAPS , MPIPE_ERROR_BUFFER_POOL , MPIPE_ERROR_FLOW ,
  MPIPE_ERROR_RESOURCE , MPIPE_ERROR_DOMAIN_END
}
 The domain a failure happened in: what the element was doing. More...

Functions

int mpipe_message_post (const struct mpipe_message *message)
 Post a message to the bus of the bin holding its origin.

Detailed Description

Bus message: what an element reports to the application.