Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
usbd_uac2.h File Reference

USB Audio Class 2 device public header. More...

#include <zephyr/device.h>

Go to the source code of this file.

Data Structures

struct  uac2_ops
 USB Audio 2 application event handlers. More...
 

Macros

#define UAC2_ENTITY_ID(node)
 Get entity ID.
 

Functions

void usbd_uac2_set_ops (const struct device *dev, const struct uac2_ops *ops, void *user_data)
 Register USB Audio 2 application callbacks.
 
int usbd_uac2_send (const struct device *dev, uint8_t terminal, void *data, uint16_t size)
 Send audio data to output terminal.
 

Detailed Description

USB Audio Class 2 device public header.

This header describes only class API interaction with application. The audio device itself is modelled with devicetree zephyr,uac2 compatible.

This API is currently considered experimental.