PDMCC26XX Object. More...
#include <PDMCC26XX.h>
Data Fields | |
bool | streamStarted |
bool | micPowerActiveHigh |
bool | applyCompression |
bool | isOpen |
uint16_t | retBufSizeInBytes |
uint16_t | pcmBufferSizeInBytes |
uint32_t | startupDelayWithClockInSamples |
const int32_t * | decimationFilter |
uint32_t * | decimationFilterState |
size_t | decimationFilterStateSize |
PDMCC26XX_StreamNotification * | streamNotification |
PDMCC26XX_CallbackFxn | callbackFxn |
PDMCC26XX_MallocFxn | mallocFxn |
PDMCC26XX_FreeFxn | freeFxn |
PDMCC26XX_Pdm2PcmFxn | pdm2pcmFxn |
HwiP_Struct | hwi |
PDMCC26XX Object.
The application must not access any member variables of this structure!
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.
const int32_t* PDMCC26XX_Object::decimationFilter |
Filter applied during PDM to PCM conversion. Will use default filter if NULL.
uint32_t* PDMCC26XX_Object::decimationFilterState |
Decimation filter state information.
size_t PDMCC26XX_Object::decimationFilterStateSize |
Size of the decimation filter state information in bytes. Should be 6 + 2 * N words long, where N is the number of filter stages in PDMCC26XX_Params.decimationFilter for the default filter.
PDMCC26XX_StreamNotification* PDMCC26XX_Object::streamNotification |
Stream state variable
PDMCC26XX_CallbackFxn PDMCC26XX_Object::callbackFxn |
Callback function pointer
PDMCC26XX_MallocFxn PDMCC26XX_Object::mallocFxn |
Malloc function pointer
PDMCC26XX_FreeFxn PDMCC26XX_Object::freeFxn |
Free function pointer
PDMCC26XX_Pdm2PcmFxn PDMCC26XX_Object::pdm2pcmFxn |
Function that converts PDM input to PCM output
HwiP_Struct PDMCC26XX_Object::hwi |
Hwi object handle