Astra MCU SDK Peripheral Driver Library
Loading...
Searching...
No Matches
dmic_capability_s Struct Reference

DMIC instance capability description. More...

#include <dmic.h>

Data Fields

uint8_t num_channels
uint32_t transfer_modes
uint32_t buffer_modes
bool has_fifo
bool has_dma
bool has_hwvad
bool has_gain
bool has_boost
bool has_iir
uint32_t clk_id
uint32_t max_clk_hz

Detailed Description

DMIC instance capability description.

This structure reports the static/runtime capabilities exposed by a DMIC instance such as transfer paths, channel count, supported buffer models, and max clock information.

Field Documentation

◆ num_channels

uint8_t dmic_capability_s::num_channels

Maximum supported channels for instance

◆ transfer_modes

uint32_t dmic_capability_s::transfer_modes

◆ buffer_modes

uint32_t dmic_capability_s::buffer_modes

Bitmask of dmic_buffer_mode_en

◆ has_fifo

bool dmic_capability_s::has_fifo

true if FIFO API/data path is supported

◆ has_dma

bool dmic_capability_s::has_dma

true if DMA API/data path is supported

◆ has_hwvad

bool dmic_capability_s::has_hwvad

true if HWVAD controls are supported

◆ has_gain

bool dmic_capability_s::has_gain

true if per-channel gain control is supported

◆ has_boost

bool dmic_capability_s::has_boost

true if per-channel boost control is supported

◆ has_iir

bool dmic_capability_s::has_iir

true if IIR filtering is supported

◆ clk_id

uint32_t dmic_capability_s::clk_id

DMIC clock source ID (0 if unavailable)

◆ max_clk_hz

uint32_t dmic_capability_s::max_clk_hz

Maximum supported/available DMIC clock in Hz (0 if unknown)