Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
usb_audio_fu_evt Struct Reference

Feature Unit event structure. More...

#include <usb_audio.h>

Data Fields

enum usb_audio_direction dir
 The device direction that has been changed.
 
enum usb_audio_fucs cs
 Control selector feature that has been changed.
 
uint8_t channel
 Device channel that has been changed.
 
uint8_t val_len
 Length of the val field.
 
const void * val
 Value of the feature that has been set.
 

Detailed Description

Feature Unit event structure.

The event structure is used by feature_update_cb in order to inform the App whenever the Host has modified one of the device features.

Field Documentation

◆ channel

uint8_t usb_audio_fu_evt::channel

Device channel that has been changed.

If 0xFF, then all channels have been changed.

◆ cs

enum usb_audio_fucs usb_audio_fu_evt::cs

Control selector feature that has been changed.

◆ dir

enum usb_audio_direction usb_audio_fu_evt::dir

The device direction that has been changed.

Applicable for Headset device only.

◆ val

const void* usb_audio_fu_evt::val

Value of the feature that has been set.

◆ val_len

uint8_t usb_audio_fu_evt::val_len

Length of the val field.


The documentation for this struct was generated from the following file: