![]() |
PDK API Guide for J721E
|
The macro definitions and function prototypes for configuring PCM3168 codec.
Go to the source code of this file.
Functions | |
Board_STATUS | Board_pcm3168Config (void *handle, uint8_t slaveAddr) |
This function is used to configure the PCM3168A codec. More... | |
Board_STATUS | Board_pcm3168RegRead (void *handle, uint8_t slaveAddr, uint8_t regAddr, uint8_t *regData) |
This function is used to read the Codec register value. More... | |
Board_STATUS | Board_pcm3168RegWrite (void *handle, uint8_t slaveAddr, uint8_t regAddr, uint8_t *regData) |
This function is used to write the register data to the PCM Codec. More... | |
Board_STATUS | Board_pcm3168ModeCtrl (void *handle, uint8_t slaveAddr, uint8_t modeCtrl) |
This function is used to set the mode control register reset to the default value 0 - Writes default value to mode control register 1 - Normal operation. More... | |
Board_STATUS | Board_pcm3168Reset (void *handle, uint8_t slaveAddr, uint8_t modeCtrl) |
This function is used to control the system reset 0 - Restarts the system by resyncronizing the system clock and sampling clock 1 - Normal operation. More... | |
Board_STATUS | Board_pcm3168SamplingModeSel (void *handle, uint8_t slaveAddr, uint8_t samplingMode, uint8_t cfgMode) |
This function is used to control the sampling mode of DAC/ADC 00 - Auto 01 - Single rate 10 - Dual rate 11 - Reserved for ADC 11 - Quad rate for DAC. More... | |
Board_STATUS | Board_pcm3168DACPwrSaveModeSel (void *handle, uint8_t slaveAddr, uint8_t pwrSaveMode) |
This function is used to control the power save mode of DAC/ADC operation 0 - Power-save enable mode 1 - Power-save disable mode. More... | |
Board_STATUS | Board_pcm3168ADCPwrSaveModeSel (void *handle, uint8_t slaveAddr, uint8_t pwrSaveMode) |
This function is used to control the power save mode of ADC operation 0 - normal operation 1 - power-save mode. More... | |
Board_STATUS | Board_pcm3168MasterSlaveModeSel (void *handle, uint8_t slaveAddr, uint8_t mscfgMode, uint8_t cfgMode) |
This function is used to control the audio interface mode. More... | |
Board_STATUS | Board_pcm3168AudioFmtSel (void *handle, uint8_t slaveAddr, uint8_t fmt, uint8_t cfgMode) |
This function is used to control the audio interface format. 000 - 24-bit I2S format 001 - 24-bit left-justified format 010 - 24-bit right-justified format 011 - 16-bit right-justified format 100 - 24-bit I2S mode DSP format 101 - 24-bit left-justified mode DSP format 110 - 24-bit I2S mode TDM format 111 - 24-bit left-justified mode TDM format Below modes support only for DAC configuration 1000 - 24-bit high-speed I2S mode TDM format 1001 - 24-bit high-speed left-justified mode TDM format. More... | |
Board_STATUS | Board_pcm3168DACOperationalCtrl (void *handle, uint8_t slaveAddr, uint8_t opMode) |
This function is used to control the DAC operation mode. More... | |
Board_STATUS | Board_pcm3168SoftMuteCtrl (void *handle, uint8_t slaveAddr, uint8_t chanNum, uint8_t muteCtrl, uint8_t cfgMode) |
This function is used to enable or disable the Soft Mute function for the corresponding DAC/ADC outputs 0 - Mute Disabled 1 - Mute Enabled. More... | |
Board_STATUS | Board_pcm3168AttnLevelSet (void *handle, uint8_t slaveAddr, uint8_t chanNum, uint8_t attLevel, uint8_t cfgMode) |
This function is used to set the attenuation level for each channel independently. More... | |