|
Zephyr API Documentation 4.3.0-rc1
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_STREAM_RESPONDER(_dev, _send, _ep_spec) |
| Initialize a configuration for the UMP Stream responder. | |
| #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. | |
Typedefs | |
| typedef void(* | ump_send_func) (const void *, const struct midi_ump) |
| A function to send a UMP. | |
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 |
| #define UMP_STREAM_RESPONDER | ( | _dev, | |
| _send, | |||
| _ep_spec ) |
#include </__w/zephyr/zephyr/lib/midi2/ump_stream_responder.h>
Initialize a configuration for the UMP Stream responder.
| _dev | The device to send reply packets |
| _send | The send function |
| _ep_spec | The UMP endpoint specification |
| typedef void(* ump_send_func) (const void *, const struct midi_ump) |
#include </__w/zephyr/zephyr/lib/midi2/ump_stream_responder.h>
A function to send a UMP.
| 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 |