TI-RTOS Drivers
tidrivers_cc13xx_cc26xx_2_16_00_08
|
PDMCC26XX Parameters are used to with the PDMCC26XX_open() call. Default values for these parameters are set using PDMCC26XX_Params_init(). More...
#include <PDMCC26XX.h>
Data Fields | |
PDMCC26XX_CallbackFxn | callbackFxn |
bool | useDefaultFilter |
int32_t * | decimationFilter |
PDMCC26XX_Gain | micGain |
bool | micPowerActiveHigh |
bool | applyCompression |
uint32_t | startupDelayWithClockInSamples |
uint16_t | retBufSizeInBytes |
PDMCC26XX_MallocFxn | mallocFxn |
PDMCC26XX_FreeFxn | freeFxn |
uintptr_t | custom |
PDMCC26XX Parameters are used to with the PDMCC26XX_open() call. Default values for these parameters are set using PDMCC26XX_Params_init().
PDMCC26XX_CallbackFxn PDMCC26XX_Params::callbackFxn |
Callback function pointer
bool PDMCC26XX_Params::useDefaultFilter |
Set to TRUE to apply default filter. Set to FALSE to apply PDMCC26XX_Params::decimationFilter.
int32_t* PDMCC26XX_Params::decimationFilter |
Filter that is applied if PDMCC26XX_Params::useDefaultFilter is set to FALSE
PDMCC26XX_Gain PDMCC26XX_Params::micGain |
Microphone gain
bool PDMCC26XX_Params::micPowerActiveHigh |
Set to TRUE if setting the GPIO high powers the microphone
bool PDMCC26XX_Params::applyCompression |
Set to TRUE to apply compression. Setting it to FALSE allows user to apply own compression scheme.
uint32_t PDMCC26XX_Params::startupDelayWithClockInSamples |
Some digital microphones have a startup delay. Set the number of samples to discard after powering the microphone starting to clock in data.
uint16_t PDMCC26XX_Params::retBufSizeInBytes |
Size of returned buffers. It is not reccomended to make this value less than 64, the driver will not crash, but the equence numbers may become unaligned with the data in the buffer.
PDMCC26XX_MallocFxn PDMCC26XX_Params::mallocFxn |
Malloc function pointer
PDMCC26XX_FreeFxn PDMCC26XX_Params::freeFxn |
Free function pointer
uintptr_t PDMCC26XX_Params::custom |
Custom argument used by driver implementation