SimpleLink MCU SDK Driver APIs  tidrivers_cc13xx_cc26xx_3_01_01_03
Data Fields
PDMCC26XX_Object Struct Reference

PDMCC26XX Object. More...

#include <PDMCC26XX.h>

Collaboration diagram for PDMCC26XX_Object:
Collaboration graph
[legend]

Data Fields

bool useDefaultFilter
 
bool streamStarted
 
bool micPowerActiveHigh
 
bool applyCompression
 
bool isOpen
 
uint16_t retBufSizeInBytes
 
uint16_t pcmBufferSizeInBytes
 
uint32_t startupDelayWithClockInSamples
 
int32_t * decimationFilter
 
PDMCC26XX_StreamNotificationstreamNotification
 
PDMCC26XX_Gain micGain
 
PDMCC26XX_CallbackFxn callbackFxn
 
PDMCC26XX_MallocFxn mallocFxn
 
PDMCC26XX_FreeFxn freeFxn
 
PIN_State pinState
 
PIN_Handle pinHandle
 
ti_sysbios_family_arm_m3_Hwi_Struct hwi
 

Detailed Description

PDMCC26XX Object.

The application must not access any member variables of this structure!

Field Documentation

bool PDMCC26XX_Object::useDefaultFilter

Set to TRUE to apply default filter. Set to FALSE to apply PDMCC26XX_Params::decimationFilter.

bool PDMCC26XX_Object::streamStarted

Stream started flag

bool PDMCC26XX_Object::micPowerActiveHigh

Set to TRUE if setting the GPIO high powers the microphone

bool PDMCC26XX_Object::applyCompression

Set to TRUE to apply compression. Setting it to FALSE allows user to apply own compression scheme.

bool PDMCC26XX_Object::isOpen

Has the object been opened

uint16_t PDMCC26XX_Object::retBufSizeInBytes

Size of returned buffers

uint16_t PDMCC26XX_Object::pcmBufferSizeInBytes

Size of the pcm buffer inside the returnBuffer is equal to retBufSizeInBytes - PCM_METADATA_SIZE

uint32_t PDMCC26XX_Object::startupDelayWithClockInSamples

Some digital microphones have a startup delay. Set the number of samples to discard after powering the microphone starting to clock in data.

int32_t* PDMCC26XX_Object::decimationFilter

Filter that is applied if PDMCC26XX_Params::decimationFilter is set to FALSE

PDMCC26XX_StreamNotification* PDMCC26XX_Object::streamNotification

Stream state variable

PDMCC26XX_Gain PDMCC26XX_Object::micGain

Microphone gain

PDMCC26XX_CallbackFxn PDMCC26XX_Object::callbackFxn

Callback function pointer

PDMCC26XX_MallocFxn PDMCC26XX_Object::mallocFxn

Malloc function pointer

PDMCC26XX_FreeFxn PDMCC26XX_Object::freeFxn

Free function pointer

PIN_State PDMCC26XX_Object::pinState

Pin driver state object

PIN_Handle PDMCC26XX_Object::pinHandle

Pin driver handle

ti_sysbios_family_arm_m3_Hwi_Struct PDMCC26XX_Object::hwi

Hwi object handle


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