TI-RTOS Drivers  tidrivers_full_2_20_01_10
Data Fields
PDMCC26XX_I2S_AudioFormatConfig Struct Reference

PDMCC26XX_I2S Hardware configuration. More...

#include <PDMCC26XX_util.h>

Data Fields

uint8_t wordLength:5
 
uint8_t sampleEdge:1
 
uint8_t dualPhase:1
 
uint8_t memLen:1
 
uint8_t dataDelay
 

Detailed Description

PDMCC26XX_I2S Hardware configuration.

These fields are used by the driver to set up the I2S module

A sample structure is shown below (single PDM microphone):

Field Documentation

uint8_t PDMCC26XX_I2S_AudioFormatConfig::wordLength

Number of bits per word (8-24). Exact for single phase, max for dual phase

uint8_t PDMCC26XX_I2S_AudioFormatConfig::sampleEdge

Sample edge. Data and Word clock is samples, and clocked out, on opposite edges of BCLK. 0: NEG (Data is sample on the negative edge and clocked out on the positive edge) 1: POS (Data is sample on the positive edge and clocked out on the negative edge)

uint8_t PDMCC26XX_I2S_AudioFormatConfig::dualPhase

Selects dual- or single phase format (0: Single, 1: Dual)

uint8_t PDMCC26XX_I2S_AudioFormatConfig::memLen

Size of each word stored to or loaded from memory (0: 16, 1: 24)

uint8_t PDMCC26XX_I2S_AudioFormatConfig::dataDelay

Number of BCLK perids between a WCLK edge and MSB of the first word in a phase


The documentation for this struct was generated from the following file:
Copyright 2016, Texas Instruments Incorporated