|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
MIDI2 application event handlers. More...
#include <zephyr/usb/class/usbd_midi2.h>
Data Fields | |
| void(* | rx_packet_cb )(const struct device *dev, const struct midi_ump ump) |
| Callback type for incoming Universal MIDI Packets from host. | |
| void(* | ready_cb )(const struct device *dev, const bool ready) |
| Callback type for MIDI2 interface runtime status change. | |
MIDI2 application event handlers.
Callback type for MIDI2 interface runtime status change.
| [in] | dev | The MIDI2 device |
| [in] | ready | True if the interface is enabled by the host |
Callback type for incoming Universal MIDI Packets from host.
| [in] | dev | The MIDI2 device receiving the packet |
| [in] | ump | The received packet in Universal MIDI Packet format |