Home
last modified time | relevance | path

Searched refs:COMPAT_MIC (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/subsys/usb/device/class/audio/
Dusb_audio_internal.h73 #define COMPAT_MIC usb_audio_mic macro
77 #define MICROPHONE_DEVICE_COUNT DT_NUM_INST_STATUS_OKAY(COMPAT_MIC)
83 COND_CODE_1(DT_PROP(DT_INST(i, COMPAT_MIC), prop), (bitmask), (0))
158 #define GET_RES_MIC(i) DT_PROP(DT_INST(i, COMPAT_MIC), resolution)
165 #define GET_VOLUME_MIC(i, prop) DT_PROP_OR(DT_INST(i, COMPAT_MIC), prop, 0)
169 #define GET_RATE_MIC(i) DT_PROP(DT_INST(i, COMPAT_MIC), sample_rate_hz)
175 #define GET_INTERVAL_MIC(i) DT_PROP(DT_INST(i, COMPAT_MIC), polling_interval)
181 #define SYNC_TYPE_MIC(i) DT_ENUM_IDX(DT_INST(i, COMPAT_MIC), sync_type)