Enumerated types for DMIC driver. More...
Typedefs | |
| typedef uint32_t | dmic_cutoff_freq_t |
| DMIC HPF cutoff selector type. | |
Enumerated types for DMIC driver.
| typedef uint32_t dmic_cutoff_freq_t |
DMIC HPF cutoff selector type.
The exact value-to-register mapping is SoC specific and resolved through the platform cutoff map table.
| enum dmic_event_en |
DMIC event notifications.
These values report asynchronous DMIC runtime events. API call failures are returned using dmic_status_en and are distinct from these notifications. Event source notes:
| enum dmic_status_en |
Error codes for DMIC module.
| enum dmic_in_phase_en |
| enum dmic_gain_ctrl_en |
Microphone Gain Control.
| enum dmic_boost_en |
| enum dmic_int_en |
| enum dmic_buffer_mode_en |
DMIC buffer mode capability bitmask.
Multi-channel capture uses interleaved layout. Single-channel capture uses per-channel layout.
| Enumerator | |
|---|---|
| DMIC_BUFFER_MODE_NONE | No buffer mode available |
| DMIC_BUFFER_MODE_PER_CHANNEL | Separate per-channel buffers |
| DMIC_BUFFER_MODE_INTERLEAVED | Interleaved multi-channel buffer |
| enum dmic_sample_size_en |
DMIC sample size selector.
Current implementation transfers/stores samples in 32-bit memory words. 16-bit and 24-bit formats are 32-bit containerized in memory. API values identify logical sample formats; storage sizing follows the 32-bit container rule above. Samples may be stored in 32-bit memory containers depending on hardware packing requirements.
| Enumerator | |
|---|---|
| DMIC_SAMPLE_16BIT | 16-bit sample |
| DMIC_SAMPLE_24BIT | 24-bit sample |
| DMIC_SAMPLE_32BIT | 32-bit sample |