zephyr/subsys/usb/device_next/class
Tomasz Moń 3e7368829b usb: device_next: uac2: interface descriptor macros
Add macros to initialize full set of descriptors required for USB Audio
Class 2 instance. Descriptors start with Interface Association
Descriptor that binds together the AudioControl interface and all
AudioStreaming interfaces.

AudioStreaming interfaces have alternate setting 0 without any endpoints
and alternate setting 1 with isochronous endpoint with max packet size
calculated on maximum sample frequency, number of channels, subslot size
and clock synchronization (asynchronous endpoints require +1 sample).

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2023-12-15 14:24:44 +01:00
..
bt_hci.c
Kconfig
Kconfig.bt
Kconfig.cdc_acm
Kconfig.cdc_ecm
Kconfig.loopback
Kconfig.msc
Kconfig.template.instances_count
loopback.c
usbd_cdc_acm.c
usbd_cdc_ecm.c
usbd_msc_scsi.c
usbd_msc_scsi.h
usbd_msc.c
usbd_msc.ld
usbd_uac2_macros.h usb: device_next: uac2: interface descriptor macros 2023-12-15 14:24:44 +01:00