|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
Bus message: what an element reports to the application. More...
#include <stdint.h>#include <zephyr/kernel.h>#include <zephyr/sys/util_macro.h>#include <zephyr/mpipe/mpipe_element.h>Go to the source code of this file.
Data Structures | |
| 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. | |
Bus message: what an element reports to the application.