Data Fields
PDMCC26XX_I2S_Params Struct Reference

PDMCC26XX I2S Parameters are used when calling PDMCC26XX_I2S_open(). More...

#include <PDMCC26XX_util.h>

Collaboration diagram for PDMCC26XX_I2S_Params:
Collaboration graph

Data Fields

uint8_t blockCount
uint32_t requestTimeout
PDMCC26XX_I2S_RequestMode requestMode
PDMCC26XX_I2S_TransferSize blockSizeInSamples
PDMCC26XX_I2S_CallbackFxn callbackFxn
PDMCC26XX_I2S_MallocFxn mallocFxn
PDMCC26XX_I2S_FreeFxn freeFxn

Detailed Description

PDMCC26XX I2S Parameters are used when calling PDMCC26XX_I2S_open().

Field Documentation

§ blockCount

uint8_t PDMCC26XX_I2S_Params::blockCount

Number of PDM buffers the I2S driver can fill without the PDM driver processing them. Must be larger than 3.

§ requestTimeout

uint32_t PDMCC26XX_I2S_Params::requestTimeout

Timeout for the request when in blocking mode

§ requestMode

PDMCC26XX_I2S_RequestMode PDMCC26XX_I2S_Params::requestMode

Blocking or Callback mode

§ blockSizeInSamples

PDMCC26XX_I2S_TransferSize PDMCC26XX_I2S_Params::blockSizeInSamples

I2S DMA transfer size in number of samples. Each sample consumes either 16 or 24 bits per channel, set by PDMCC26XX_I2S_AudioFormatConfig.memLen. Number of channels are set in PDMCC26XX_I2S_AudioPinConfig.ad0NumOfChannels and PDMCC26XX_I2S_AudioPinConfig.ad1NumOfChannels

§ callbackFxn

PDMCC26XX_I2S_CallbackFxn PDMCC26XX_I2S_Params::callbackFxn

Callback function pointer

§ mallocFxn

PDMCC26XX_I2S_MallocFxn PDMCC26XX_I2S_Params::mallocFxn

Malloc function pointer

§ freeFxn

PDMCC26XX_I2S_FreeFxn PDMCC26XX_I2S_Params::freeFxn

Free function pointer

§ currentStream

PDMCC26XX_I2S_StreamNotification* PDMCC26XX_I2S_Params::currentStream

Pointer to information about the current state of the stream

The documentation for this struct was generated from the following file:
© Copyright 1995-2022, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale