![]() |
![]() |
TI-RTOS Drivers
tidrivers_full_2_20_01_10
|
PDMCC26XX_I2S Audio Clock configuration. More...
#include <PDMCC26XX_util.h>
Data Fields | |
uint16_t | wclkDiv |
uint16_t | sampleOnPositiveEdge:1 |
uint16_t | wclkPhase:2 |
uint16_t | wclkInverted:1 |
uint16_t | wclkSource:2 |
uint16_t | bclkDiv:10 |
uint16_t | reserved:5 |
uint16_t | bclkSource:1 |
uint16_t | mclkDiv:10 |
PDMCC26XX_I2S Audio Clock configuration.
These fields are used by the driver to set up the I2S module
A sample structure is shown below (single PDM microphone):
uint16_t PDMCC26XX_I2S_AudioClockConfig::wclkDiv |
I2S Word Clock divider override
uint16_t PDMCC26XX_I2S_AudioClockConfig::sampleOnPositiveEdge |
I2S Sample Edge. 0 - data and WCLK are sampled on the negative edge and clocked out on the positive edge. 1 - data and WCLK are sampled on the positive edge and clocked out on the negative edge
uint16_t PDMCC26XX_I2S_AudioClockConfig::wclkPhase |
I2S Word Clock Phase(PDMCC26XX_I2S_WordClockPhase_Dual, PDMCC26XX_I2S_WordClockPhase_Single or PDMCC26XX_I2S_WordClockPhase_UserDefined)
uint16_t PDMCC26XX_I2S_AudioClockConfig::wclkInverted |
I2S Invert Word Clock (PDMCC26XX_I2S_ClockSource_Inverted or PDMCC26XX_I2S_ClockSource_Normal)
uint16_t PDMCC26XX_I2S_AudioClockConfig::wclkSource |
I2S Word Clock source (PDMCC26XX_I2S_WordClockSource_Ext or PDMCC26XX_I2S_WordClockSource_Int)
uint16_t PDMCC26XX_I2S_AudioClockConfig::bclkDiv |
I2S Bit Clock divider override
uint16_t PDMCC26XX_I2S_AudioClockConfig::reserved |
Reserved bit field
uint16_t PDMCC26XX_I2S_AudioClockConfig::bclkSource |
I2S Bit Clock source (PDMCC26XX_I2S_BitClockSource_Ext or PDMCC26XX_I2S_BitClockSource_Int)
uint16_t PDMCC26XX_I2S_AudioClockConfig::mclkDiv |
I2S Master Clock divider override