BLE-Stack APIs  3.00.01
Data Fields
PDMCC26XX_Object Struct Reference

PDMCC26XX Object. More...

Data Fields

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

Detailed Description

PDMCC26XX Object.

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

Field Documentation

§ applyCompression

bool applyCompression

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

§ callbackFxn

PDMCC26XX_CallbackFxn callbackFxn

Callback function pointer

§ decimationFilter

int32_t* decimationFilter

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

§ freeFxn

Free function pointer

§ hwi

ti_sysbios_family_arm_m3_Hwi_Struct hwi

Hwi object handle

§ isOpen

bool isOpen

Has the object been opened

§ mallocFxn

Malloc function pointer

§ micGain

PDMCC26XX_Gain micGain

Microphone gain

§ micPowerActiveHigh

bool micPowerActiveHigh

Set to TRUE if setting the GPIO high powers the microphone

§ pcmBufferSizeInBytes

uint16_t pcmBufferSizeInBytes

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

§ pinHandle

PIN_Handle pinHandle

Pin driver handle

§ pinState

PIN_State pinState

Pin driver state object

§ retBufSizeInBytes

uint16_t retBufSizeInBytes

Size of returned buffers

§ startupDelayWithClockInSamples

uint32_t startupDelayWithClockInSamples

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

§ streamNotification

PDMCC26XX_StreamNotification* streamNotification

Stream state variable

§ streamStarted

bool streamStarted

Stream started flag

§ useDefaultFilter

bool useDefaultFilter

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


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