14 static const uint8_t AIC3204_PAGE_CTRL = 0x00;
15 static const uint8_t AIC3204_SW_RST = 0x01;
16 static const uint8_t AIC3204_CLK_PLL1 = 0x04;
17 static const uint8_t AIC3204_CLK_PLL2 = 0x05;
18 static const uint8_t AIC3204_CLK_PLL3 = 0x06;
19 static const uint8_t AIC3204_NDAC = 0x0B;
20 static const uint8_t AIC3204_MDAC = 0x0C;
21 static const uint8_t AIC3204_DOSR = 0x0E;
22 static const uint8_t AIC3204_NADC = 0x12;
23 static const uint8_t AIC3204_MADC = 0x13;
24 static const uint8_t AIC3204_AOSR = 0x14;
25 static const uint8_t AIC3204_CODEC_IF = 0x1B;
26 static const uint8_t AIC3204_AUDIO_IF_4 = 0x1F;
27 static const uint8_t AIC3204_AUDIO_IF_5 = 0x20;
28 static const uint8_t AIC3204_SCLK_MFP3 = 0x38;
29 static const uint8_t AIC3204_DAC_SIG_PROC = 0x3C;
30 static const uint8_t AIC3204_ADC_SIG_PROC = 0x3D;
31 static const uint8_t AIC3204_DAC_CH_SET1 = 0x3F;
32 static const uint8_t AIC3204_DAC_CH_SET2 = 0x40;
33 static const uint8_t AIC3204_DACL_VOL_D = 0x41;
34 static const uint8_t AIC3204_DACR_VOL_D = 0x42;
35 static const uint8_t AIC3204_DRC_ENABLE = 0x44;
36 static const uint8_t AIC3204_ADC_CH_SET = 0x51;
37 static const uint8_t AIC3204_ADC_FGA_MUTE = 0x52;
40 static const uint8_t AIC3204_PWR_CFG = 0x01;
41 static const uint8_t AIC3204_LDO_CTRL = 0x02;
42 static const uint8_t AIC3204_PLAY_CFG1 = 0x03;
43 static const uint8_t AIC3204_PLAY_CFG2 = 0x04;
44 static const uint8_t AIC3204_OP_PWR_CTRL = 0x09;
45 static const uint8_t AIC3204_CM_CTRL = 0x0A;
46 static const uint8_t AIC3204_HPL_ROUTE = 0x0C;
47 static const uint8_t AIC3204_HPR_ROUTE = 0x0D;
48 static const uint8_t AIC3204_LOL_ROUTE = 0x0E;
49 static const uint8_t AIC3204_LOR_ROUTE = 0x0F;
50 static const uint8_t AIC3204_HPL_GAIN = 0x10;
51 static const uint8_t AIC3204_HPR_GAIN = 0x11;
52 static const uint8_t AIC3204_LOL_DRV_GAIN = 0x12;
53 static const uint8_t AIC3204_LOR_DRV_GAIN = 0x13;
54 static const uint8_t AIC3204_HP_START = 0x14;
55 static const uint8_t AIC3204_LPGA_P_ROUTE = 0x34;
56 static const uint8_t AIC3204_LPGA_N_ROUTE = 0x36;
57 static const uint8_t AIC3204_RPGA_P_ROUTE = 0x37;
58 static const uint8_t AIC3204_RPGA_N_ROUTE = 0x39;
59 static const uint8_t AIC3204_LPGA_VOL = 0x3B;
60 static const uint8_t AIC3204_RPGA_VOL = 0x3C;
61 static const uint8_t AIC3204_ADC_PTM = 0x3D;
62 static const uint8_t AIC3204_AN_IN_CHRG = 0x47;
63 static const uint8_t AIC3204_REF_STARTUP = 0x7B;
67 void setup()
override;
const float DATA
For components that import data from directly connected sensors like DHT.
void dump_config() override
bool set_mute_on() override
bool set_auto_mute_mode(uint8_t auto_mute_mode)
bool set_volume(float volume) override
float get_setup_priority() const override
bool set_mute_off() override
Implementation of SPI Controller mode.
This Class provides the methods to read/write bytes from/to an i2c device.