Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
|
Respond to UMP Stream message Endpoint or Function Block discovery. More...
Data Structures | |
struct | ump_block_dt_spec |
UMP Function Block specification. More... | |
struct | ump_endpoint_dt_spec |
UMP endpoint specification. More... | |
struct | ump_stream_responder_cfg |
Configuration for the UMP Stream responder. More... |
Macros | |
#define | UMP_BLOCK_DT_SPEC_GET(_node) |
Get a Universal MIDI Packet endpoint function block from its device-tree representation. | |
#define | UMP_BLOCK_SEP_IF_OKAY(_node) |
#define | UMP_ENDPOINT_DT_SPEC_GET(_node) |
Get a Universal MIDI Packet endpoint description from the device-tree representation of a midi2 device. |
Functions | |
int | ump_stream_respond (const struct ump_stream_responder_cfg *cfg, const struct midi_ump pkt) |
Respond to an UMP Stream message. | |
const char * | ump_product_instance_id (void) |
Respond to UMP Stream message Endpoint or Function Block discovery.
#define UMP_BLOCK_DT_SPEC_GET | ( | _node | ) |
#include </__w/zephyr/zephyr/lib/midi2/ump_stream_responder.h>
Get a Universal MIDI Packet endpoint function block from its device-tree representation.
_node | The device tree node representing the midi2 block |
#define UMP_BLOCK_SEP_IF_OKAY | ( | _node | ) |
#include </__w/zephyr/zephyr/lib/midi2/ump_stream_responder.h>
#define UMP_ENDPOINT_DT_SPEC_GET | ( | _node | ) |
#include </__w/zephyr/zephyr/lib/midi2/ump_stream_responder.h>
Get a Universal MIDI Packet endpoint description from the device-tree representation of a midi2 device.
_node | The device tree node representing a midi2 device |
const char * ump_product_instance_id | ( | void | ) |
#include </__w/zephyr/zephyr/lib/midi2/ump_stream_responder.h>
int ump_stream_respond | ( | const struct ump_stream_responder_cfg * | cfg, |
const struct midi_ump | pkt ) |
#include </__w/zephyr/zephyr/lib/midi2/ump_stream_responder.h>
Respond to an UMP Stream message.
[in] | cfg | The responder configuration |
[in] | pkt | The message to respond to |