Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
UMP Stream specific fields

Topics

 UMP Stream Function Block discovery message filter bits
 UMP Stream endpoint discovery message filter bits
 UMP Stream format
 UMP Stream status

Macros

#define UMP_STREAM_FORMAT(ump)
 Format of a UMP Stream message.
#define UMP_STREAM_STATUS(ump)
 Status field of a UMP Stream message.
#define UMP_STREAM_EP_DISCOVERY_FILTER(ump)
 Filter bitmap of an Endpoint Discovery message.
#define UMP_STREAM_FB_DISCOVERY_FILTER(ump)
 Filter bitmap of a Function Block Discovery message.
#define UMP_STREAM_FB_DISCOVERY_NUM(ump)
 Block number requested in a Function Block Discovery message.

Detailed Description

See also
Universal MIDI Packet (UMP) Format and MIDI 2.0 Protocol: 7.1 UMP Stream Messages

Macro Definition Documentation

◆ UMP_STREAM_EP_DISCOVERY_FILTER

#define UMP_STREAM_EP_DISCOVERY_FILTER ( ump)

#include <zephyr/audio/midi.h>

Value:
((ump).data[1] & BIT_MASK(8))
#define BIT_MASK(n)
Bit mask with bits 0 through n-1 (inclusive) set, or 0 if n is 0.
Definition util_macro.h:68

Filter bitmap of an Endpoint Discovery message.

Parameters
[in]umpUniversal MIDI Packet (containing an Endpoint Discovery message)
See also
Universal MIDI Packet (UMP) Format and MIDI 2.0 Protocol: 7.1.1 Endpoint Discovery Message
UMP Stream endpoint discovery message filter bits

◆ UMP_STREAM_FB_DISCOVERY_FILTER

#define UMP_STREAM_FB_DISCOVERY_FILTER ( ump)

#include <zephyr/audio/midi.h>

Value:
((ump).data[0] & BIT_MASK(8))

Filter bitmap of a Function Block Discovery message.

Parameters
[in]umpUniversal MIDI Packet (containing a Function Block Discovery message)
See also
Universal MIDI Packet (UMP) Format and MIDI 2.0 Protocol: 7.1.7 Function Block Discovery Message
UMP Stream Function Block discovery message filter bits

◆ UMP_STREAM_FB_DISCOVERY_NUM

#define UMP_STREAM_FB_DISCOVERY_NUM ( ump)

#include <zephyr/audio/midi.h>

Value:
(((ump).data[0] >> 8) & BIT_MASK(8))

Block number requested in a Function Block Discovery message.

Parameters
[in]umpUniversal MIDI Packet (containing a Function Block Discovery message)
See also
Universal MIDI Packet (UMP) Format and MIDI 2.0 Protocol: 7.1.7 Function Block Discovery Message

◆ UMP_STREAM_FORMAT

#define UMP_STREAM_FORMAT ( ump)

#include <zephyr/audio/midi.h>

Value:
(((ump).data[0] >> 26) & BIT_MASK(2))

Format of a UMP Stream message.

Parameters
[in]umpUniversal MIDI Packet (containing a UMP Stream message)
See also
UMP Stream format

◆ UMP_STREAM_STATUS

#define UMP_STREAM_STATUS ( ump)

#include <zephyr/audio/midi.h>

Value:
(((ump).data[0] >> 16) & BIT_MASK(10))

Status field of a UMP Stream message.

Parameters
[in]umpUniversal MIDI Packet (containing a UMP Stream message)
See also
UMP Stream status