#define __WM8994_H
#include "../Common/audio.h"
#define WM8994_SW_RESET
#define WM8994_PWR_MANAGEMENT_1
#define WM8994_PWR_MANAGEMENT_2
#define WM8994_PWR_MANAGEMENT_3
#define WM8994_PWR_MANAGEMENT_4
#define WM8994_PWR_MANAGEMENT_5
#define WM8994_PWR_MANAGEMENT_6
#define WM8994_INPUT_MIXER_1
#define WM8994_LEFT_LINE_IN12_VOL
#define WM8994_LEFT_LINE_IN34_VOL
#define WM8994_RIGHT_LINE_IN12_VOL
#define WM8994_RIGHT_LINE_IN34_VOL
#define WM8994_LEFT_OUTPUT_VOL
#define WM8994_RIGHT_OUTPUT_VOL
#define WM8994_LINE_OUTPUT_VOL
#define WM8994_OUTPUT2_VOL
#define WM8994_LEFT_OPGA_VOL
#define WM8994_RIGHT_OPGA_VOL
#define WM8994_SPKMIXL_ATT
#define WM8994_SPKMIXR_ATT
#define WM8994_OUTPUT_MIXER
#define WM8994_CLASS_D
#define WM8994_SPK_LEFT_VOL
#define WM8994_SPK_RIGHT_VOL
#define WM8994_INPUT_MIXER_2
#define WM8994_INPUT_MIXER_3
#define WM8994_INPUT_MIXER_4
#define WM8994_INPUT_MIXER_5
#define WM8994_INPUT_MIXER_6
#define WM8994_OUTPUT_MIXER_1
#define WM8994_OUTPUT_MIXER_2
#define WM8994_OUTPUT_MIXER_3
#define WM8994_OUTPUT_MIXER_4
#define WM8994_OUTPUT_MIXER_5
#define WM8994_OUTPUT_MIXER_6
#define WM8994_OUTPUT2_MIXER
#define WM8994_LINE_MIXER_1
#define WM8994_LINE_MIXER_2
#define WM8994_SPEAKER_MIXER
#define WM8994_ADD_CONTROL
#define WM8994_ANTIPOP1
#define WM8994_ANTIPOP2
#define WM8994_MICBIAS
#define WM8994_LDO1
#define WM8994_LDO2
#define WM8994_CHARGE_PUMP1
#define WM8994_CHARGE_PUMP2
#define WM8994_CLASS_W
#define WM8994_DC_SERVO1
#define WM8994_DC_SERVO2
#define WM8994_DC_SERVO_READBACK
#define WM8994_DC_SERVO_WRITEVAL
#define WM8994_ANALOG_HP
#define WM8994_CHIP_REVISION
#define WM8994_CONTROL_INTERFACE
#define WM8994_WRITE_SEQ_CTRL1
#define WM8994_WRITE_SEQ_CTRL2
#define WM8994_AIF1_CLOCKING1
#define WM8994_AIF1_CLOCKING2
#define WM8994_AIF2_CLOCKING1
#define WM8994_AIF2_CLOCKING2
#define WM8994_CLOCKING1
#define WM8994_CLOCKING2
#define WM8994_AIF1_RATE
#define WM8994_AIF2_RATE
#define WM8994_RATE_STATUS
#define WM8994_FLL1_CONTROL1
#define WM8994_FLL1_CONTROL2
#define WM8994_FLL1_CONTROL3
#define WM8994_FLL1_CONTROL4
#define WM8994_FLL1_CONTROL5
#define WM8994_FLL2_CONTROL1
#define WM8994_FLL2_CONTROL2
#define WM8994_FLL2_CONTROL3
#define WM8994_FLL2_CONTROL4
#define WM8994_FLL2_CONTROL5
#define WM8994_AIF1_CONTROL1
#define WM8994_AIF1_CONTROL2
#define WM8994_AIF1_MASTER_SLAVE
#define WM8994_AIF1_BCLK
#define WM8994_AIF1_ADC_LRCLK
#define WM8994_AIF1_DAC_LRCLK
#define WM8994_AIF1_DAC_DELTA
#define WM8994_AIF1_ADC_DELTA
#define WM8994_AIF2_CONTROL1
#define WM8994_AIF2_CONTROL2
#define WM8994_AIF2_MASTER_SLAVE
#define WM8994_AIF2_BCLK
#define WM8994_AIF2_ADC_LRCLK
#define WM8994_AIF2_DAC_LRCLK
#define WM8994_AIF2_DAC_DELTA
#define WM8994_AIF2_ADC_DELTA
#define WM8994_AIF1_ADC1_LEFT_VOL
#define WM8994_AIF1_ADC1_RIGHT_VOL
#define WM8994_AIF1_DAC1_LEFT_VOL
#define WM8994_AIF1_DAC1_RIGHT_VOL
#define WM8994_AIF1_ADC2_LEFT_VOL
#define WM8994_AIF1_ADC2_RIGHT_VOL
#define WM8994_AIF1_DAC2_LEFT_VOL
#define WM8994_AIF1_DAC2_RIGHT_VOL
#define WM8994_AIF1_ADC1_FILTERS
#define WM8994_AIF1_ADC2_FILTERS
#define WM8994_AIF1_DAC1_FILTER1
#define WM8994_AIF1_DAC1_FILTER2
#define WM8994_AIF1_DAC2_FILTER1
#define WM8994_AIF1_DAC2_FILTER2
#define WM8994_AIF1_DRC1
#define WM8994_AIF1_DRC1_1
#define WM8994_AIF1_DRC1_2
#define WM8994_AIF1_DRC1_3
#define WM8994_AIF1_DRC1_4
#define WM8994_AIF1_DRC2
#define WM8994_AIF1_DRC2_1
#define WM8994_AIF1_DRC2_2
#define WM8994_AIF1_DRC2_3
#define WM8994_AIF1_DRC2_4
#define WM8994_AIF1_DAC1_EQG_1
#define WM8994_AIF1_DAC1_EQG_2
#define WM8994_AIF1_DAC1_EQG_1A
#define WM8994_AIF1_DAC1_EQG_1B
#define WM8994_AIF1_DAC1_EQG_1PG
#define WM8994_AIF1_DAC1_EQG_2A
#define WM8994_AIF1_DAC1_EQG_2B
#define WM8994_AIF1_DAC1_EQG_2C
#define WM8994_AIF1_DAC1_EQG_2PG
#define WM8994_AIF1_DAC1_EQG_3A
#define WM8994_AIF1_DAC1_EQG_3B
#define WM8994_AIF1_DAC1_EQG_3C
#define WM8994_AIF1_DAC1_EQG_3PG
#define WM8994_AIF1_DAC1_EQG_4A
#define WM8994_AIF1_DAC1_EQG_4B
#define WM8994_AIF1_DAC1_EQG_4C
#define WM8994_AIF1_DAC1_EQG_4PG
#define WM8994_AIF1_DAC1_EQG_5A
#define WM8994_AIF1_DAC1_EQG_5B
#define WM8994_AIF1_DAC1_EQG_5PG
#define WM8994_AIF1_DAC2_EQG_1
#define WM8994_AIF1_DAC2_EQG_2
#define WM8994_AIF1_DAC2_EQG_1A
#define WM8994_AIF1_DAC2_EQG_1B
#define WM8994_AIF1_DAC2_EQG_1PG
#define WM8994_AIF1_DAC2_EQG_2A
#define WM8994_AIF1_DAC2_EQG_2B
#define WM8994_AIF1_DAC2_EQG_2C
#define WM8994_AIF1_DAC2_EQG_2PG
#define WM8994_AIF1_DAC2_EQG_3A
#define WM8994_AIF1_DAC2_EQG_3B
#define WM8994_AIF1_DAC2_EQG_3C
#define WM8994_AIF1_DAC2_EQG_3PG
#define WM8994_AIF1_DAC2_EQG_4A
#define WM8994_AIF1_DAC2_EQG_4B
#define WM8994_AIF1_DAC2_EQG_4C
#define WM8994_AIF1_DAC2_EQG_4PG
#define WM8994_AIF1_DAC2_EQG_5A
#define WM8994_AIF1_DAC2_EQG_5B
#define WM8994_AIF1_DAC2_EQG_5PG
#define WM8994_AIF2_ADC_LEFT_VOL
#define WM8994_AIF2_ADC_RIGHT_VOL
#define WM8994_AIF2_DAC_LEFT_VOL
#define WM8994_AIF2_DAC_RIGHT_VOL
#define WM8994_AIF2_ADC_FILTERS
#define WM8994_AIF2_DAC_FILTER_1
#define WM8994_AIF2_DAC_FILTER_2
#define WM8994_AIF2_DRC_1
#define WM8994_AIF2_DRC_2
#define WM8994_AIF2_DRC_3
#define WM8994_AIF2_DRC_4
#define WM8994_AIF2_DRC_5
#define WM8994_AIF2_EQG_1
#define WM8994_AIF2_EQG_2
#define WM8994_AIF2_EQG_1A
#define WM8994_AIF2_EQG_1B
#define WM8994_AIF2_EQG_1PG
#define WM8994_AIF2_EQG_2A
#define WM8994_AIF2_EQG_2B
#define WM8994_AIF2_EQG_2C
#define WM8994_AIF2_EQG_2PG
#define WM8994_AIF2_EQG_3A
#define WM8994_AIF2_EQG_3B
#define WM8994_AIF2_EQG_3C
#define WM8994_AIF2_EQG_3PG
#define WM8994_AIF2_EQG_4A
#define WM8994_AIF2_EQG_4B
#define WM8994_AIF2_EQG_4C
#define WM8994_AIF2_EQG_4PG
#define WM8994_AIF2_EQG_5A
#define WM8994_AIF2_EQG_5B
#define WM8994_AIF2_EQG_5PG
#define WM8994_DAC1_MIXER_VOL
#define WM8994_AIF1_DAC1_LMR
#define WM8994_AIF1_DAC1_RMR
#define WM8994_DAC2_MIXER_VOL
#define WM8994_AIF1_DAC2_LMR
#define WM8994_AIF1_DAC2_RMR
#define WM8994_AIF1_ADC1_LMR
#define WM8994_AIF1_ADC1_RMR
#define WM8994_AIF1_ADC2_LMR
#define WM8994_AIF1_ADC2_RMR
#define WM8994_DAC1_LEFT_VOL
#define WM8994_DAC1_RIGHT_VOL
#define WM8994_DAC2_LEFT_VOL
#define WM8994_DAC2_RIGHT_VOL
#define WM8994_DAC_SOFTMUTE
#define WM8994_OVERSAMPLING
#define WM8994_SIDETONE
#define WM8994_GPIO1
#define WM8994_GPIO2
#define WM8994_GPIO3
#define WM8994_GPIO4
#define WM8994_GPIO5
#define WM8994_GPIO6
#define WM8994_GPIO7
#define WM8994_GPIO8
#define WM8994_GPIO9
#define WM8994_GPIO10
#define WM8994_GPIO11
#define WM8994_PULL_CONTROL_1
#define WM8994_PULL_CONTROL_2
#define WM8994_INT_STATUS_1
#define WM8994_INT_STATUS_2
#define WM8994_INT_RAW_STATUS_2
#define WM8994_INT_STATUS1_MASK
#define WM8994_INT_STATUS2_MASK
#define WM8994_INT_CONTROL
#define WM8994_IRQ_DEBOUNCE
#define WM8994_WRITE_SEQUENCER0
#define WM8994_WRITE_SEQUENCER1
#define WM8994_WRITE_SEQUENCER2
#define WM8994_WRITE_SEQUENCER3
#define WM8994_WRITE_SEQUENCER4
#define WM8994_WRITE_SEQUENCER5
#define WM8994_WRITE_SEQUENCER6
#define WM8994_WRITE_SEQUENCER7
...
#define OUTPUT_DEVICE_SPEAKER
#define OUTPUT_DEVICE_HEADPHONE
#define OUTPUT_DEVICE_BOTH
#define OUTPUT_DEVICE_AUTO
#define INPUT_DEVICE_DIGITAL_MICROPHONE_1
#define INPUT_DEVICE_DIGITAL_MICROPHONE_2
#define INPUT_DEVICE_INPUT_LINE_1
#define INPUT_DEVICE_INPUT_LINE_2
#define INPUT_DEVICE_DIGITAL_MIC1_MIC2
#define DEFAULT_VOLMIN
#define DEFAULT_VOLMAX
#define DEFAULT_VOLSTEP
#define AUDIO_PAUSE
#define AUDIO_RESUME
#define CODEC_PDWN_HW
#define CODEC_PDWN_SW
#define AUDIO_MUTE_ON
#define AUDIO_MUTE_OFF
#define AUDIO_FREQUENCY_192K
#define AUDIO_FREQUENCY_96K
#define AUDIO_FREQUENCY_48K
#define AUDIO_FREQUENCY_44K
#define AUDIO_FREQUENCY_32K
#define AUDIO_FREQUENCY_22K
#define AUDIO_FREQUENCY_16K
#define AUDIO_FREQUENCY_11K
#define AUDIO_FREQUENCY_8K
#define VOLUME_CONVERT
#define VOLUME_IN_CONVERT
#define WM8994_ID
#define WM8994_CHIPID_ADDR
wm8994_Init(uint16_t, uint16_t, uint8_t, uint32_t);
wm8994_DeInit();
wm8994_ReadID(uint16_t);
wm8994_Play(uint16_t, uint16_t *, uint16_t);
wm8994_Pause(uint16_t);
wm8994_Resume(uint16_t);
wm8994_Stop(uint16_t, uint32_t);
wm8994_SetVolume(uint16_t, uint8_t);
wm8994_SetMute(uint16_t, uint32_t);
wm8994_SetOutputMode(uint16_t, uint8_t);
wm8994_SetFrequency(uint16_t, uint32_t);
wm8994_Reset(uint16_t);
AUDIO_IO_Init();
AUDIO_IO_DeInit();
AUDIO_IO_Write(uint8_t, uint16_t, uint16_t);
AUDIO_IO_Read(uint8_t, uint16_t);
AUDIO_IO_Delay(uint32_t);
wm8994_drv;