#define __CS43L22_H
#include "../Common/audio.h"
#define OUTPUT_DEVICE_SPEAKER
#define OUTPUT_DEVICE_HEADPHONE
#define OUTPUT_DEVICE_BOTH
#define OUTPUT_DEVICE_AUTO
#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 CS43L22_REG_ID
#define CS43L22_REG_POWER_CTL1
#define CS43L22_REG_POWER_CTL2
#define CS43L22_REG_CLOCKING_CTL
#define CS43L22_REG_INTERFACE_CTL1
#define CS43L22_REG_INTERFACE_CTL2
#define CS43L22_REG_PASSTHR_A_SELECT
#define CS43L22_REG_PASSTHR_B_SELECT
#define CS43L22_REG_ANALOG_ZC_SR_SETT
#define CS43L22_REG_PASSTHR_GANG_CTL
#define CS43L22_REG_PLAYBACK_CTL1
#define CS43L22_REG_MISC_CTL
#define CS43L22_REG_PLAYBACK_CTL2
#define CS43L22_REG_PASSTHR_A_VOL
#define CS43L22_REG_PASSTHR_B_VOL
#define CS43L22_REG_PCMA_VOL
#define CS43L22_REG_PCMB_VOL
#define CS43L22_REG_BEEP_FREQ_ON_TIME
#define CS43L22_REG_BEEP_VOL_OFF_TIME
#define CS43L22_REG_BEEP_TONE_CFG
#define CS43L22_REG_TONE_CTL
#define CS43L22_REG_MASTER_A_VOL
#define CS43L22_REG_MASTER_B_VOL
#define CS43L22_REG_HEADPHONE_A_VOL
#define CS43L22_REG_HEADPHONE_B_VOL
#define CS43L22_REG_SPEAKER_A_VOL
#define CS43L22_REG_SPEAKER_B_VOL
#define CS43L22_REG_CH_MIXER_SWAP
#define CS43L22_REG_LIMIT_CTL1
#define CS43L22_REG_LIMIT_CTL2
#define CS43L22_REG_LIMIT_ATTACK_RATE
#define CS43L22_REG_OVF_CLK_STATUS
#define CS43L22_REG_BATT_COMPENSATION
#define CS43L22_REG_VP_BATTERY_LEVEL
#define CS43L22_REG_SPEAKER_STATUS
#define CS43L22_REG_TEMPMONITOR_CTL
#define CS43L22_REG_THERMAL_FOLDBACK
#define CS43L22_REG_CHARGE_PUMP_FREQ
#define CS43L22_ID
#define CS43L22_ID_MASK
#define CS43L22_CHIPID_ADDR
cs43l22_Init(uint16_t, uint16_t, uint8_t, uint32_t);
cs43l22_DeInit();
cs43l22_ReadID(uint16_t);
cs43l22_Play(uint16_t, uint16_t *, uint16_t);
cs43l22_Pause(uint16_t);
cs43l22_Resume(uint16_t);
cs43l22_Stop(uint16_t, uint32_t);
cs43l22_SetVolume(uint16_t, uint8_t);
cs43l22_SetFrequency(uint16_t, uint32_t);
cs43l22_SetMute(uint16_t, uint32_t);
cs43l22_SetOutputMode(uint16_t, uint8_t);
cs43l22_Reset(uint16_t);
AUDIO_IO_Init();
AUDIO_IO_DeInit();
AUDIO_IO_Write(uint8_t, uint8_t, uint8_t);
AUDIO_IO_Read(uint8_t, uint8_t);
cs43l22_drv;