cfg_wm8731.h File Reference

Configuration file for the WM8731 module. More...

Go to the source code of this file.

Defines

#define WM8731_LOG_LEVEL   LOG_LVL_INFO
 Module logging level.
#define WM8731_LOG_FORMAT   LOG_FMT_TERSE
 Module logging format.
#define CONFIG_WM8731_DAPC   0
 Digital control: ADC High pass filter.
#define CONFIG_WM8731_DEEMP   WM8731_DEEMP_DISABLE
 Digital control: De-emphasis control.
#define CONFIG_WM8731_DACMU   0
 Digital control: DAC soft mute control.
#define CONFIG_WM8731_MICBOOST   0
 Analog control: Microphone boost.
#define CONFIG_WM8731_INSEL   WM8731_INSEL_MIC
 Analog control: Microphone/Line Input select to ADC.
#define CONFIG_WM8731_BYPASS   WM8731_DACSEL
 Analog control: out selector.
#define CONFIG_WM8731_SIDEATT   WM8731_SIDEATT_6dB
 Analog control: Side tone attenuation.
#define CONFIG_WM8731_INTERFACE_FORMAT   WM8731_FORMAT_I2S
 Digital Audio interface format.
#define CONFIG_WM8731_IWL_BITS   WM8731_IWL_16_BIT
 Digital Audio data bit length.
#define CONFIG_WM8731_MS   0
 Enable Master mode.
#define CONFIG_WM8731_SAMPLING_RATES   0x6
 Data sampling rate, refer to datasheet for this value.

Detailed Description

Configuration file for the WM8731 module.

Author:
Daniele Basile <asterix@develer.com>

Definition in file cfg_wm8731.h.


Define Documentation

#define CONFIG_WM8731_BYPASS   WM8731_DACSEL

Analog control: out selector.

Definition at line 96 of file cfg_wm8731.h.

#define CONFIG_WM8731_DACMU   0

Digital control: DAC soft mute control.

Definition at line 74 of file cfg_wm8731.h.

#define CONFIG_WM8731_DAPC   0

Digital control: ADC High pass filter.

Definition at line 60 of file cfg_wm8731.h.

#define CONFIG_WM8731_DEEMP   WM8731_DEEMP_DISABLE

Digital control: De-emphasis control.

Definition at line 68 of file cfg_wm8731.h.

#define CONFIG_WM8731_INSEL   WM8731_INSEL_MIC

Analog control: Microphone/Line Input select to ADC.

Definition at line 88 of file cfg_wm8731.h.

#define CONFIG_WM8731_MICBOOST   0

Analog control: Microphone boost.

Definition at line 81 of file cfg_wm8731.h.

#define CONFIG_WM8731_SIDEATT   WM8731_SIDEATT_6dB

Analog control: Side tone attenuation.

Definition at line 103 of file cfg_wm8731.h.