Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dai_config Struct Reference

Main DAI config structure. More...

#include <dai.h>

Data Fields

enum dai_type type
 Type of the DAI.
 
uint32_t dai_index
 Index of the DAI.
 
uint8_t channels
 Number of audio channels, words in frame.
 
uint32_t rate
 Frame clock (WS) frequency, sampling rate.
 
uint16_t format
 DAI specific data stream format.
 
uint8_t options
 DAI specific configuration options.
 
uint8_t word_size
 Number of bits representing one data word.
 
size_t block_size
 Size of one RX/TX memory block (buffer) in bytes.
 
uint16_t link_config
 DAI specific link configuration.
 
uint32_t tdm_slot_group
 

Detailed Description

Main DAI config structure.

Generic DAI interface configuration options.

Field Documentation

◆ block_size

size_t dai_config::block_size

Size of one RX/TX memory block (buffer) in bytes.

◆ channels

uint8_t dai_config::channels

Number of audio channels, words in frame.

◆ dai_index

uint32_t dai_config::dai_index

Index of the DAI.

◆ format

uint16_t dai_config::format

DAI specific data stream format.

◆ link_config

uint16_t dai_config::link_config

DAI specific link configuration.

tdm slot group number

◆ options

uint8_t dai_config::options

DAI specific configuration options.

◆ rate

uint32_t dai_config::rate

Frame clock (WS) frequency, sampling rate.

◆ tdm_slot_group

uint32_t dai_config::tdm_slot_group

◆ type

enum dai_type dai_config::type

Type of the DAI.

◆ word_size

uint8_t dai_config::word_size

Number of bits representing one data word.


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