12 static const uint8_t ES8156_REG00_RESET = 0x00;
16 static const uint8_t ES8156_REG01_MAINCLOCK_CTL = 0x01;
17 static const uint8_t ES8156_REG02_SCLK_MODE = 0x02;
18 static const uint8_t ES8156_REG03_LRCLK_DIV_H = 0x03;
19 static const uint8_t ES8156_REG04_LRCLK_DIV_L = 0x04;
20 static const uint8_t ES8156_REG05_SCLK_DIV = 0x05;
21 static const uint8_t ES8156_REG06_NFS_CONFIG = 0x06;
22 static const uint8_t ES8156_REG07_MISC_CONTROL1 = 0x07;
23 static const uint8_t ES8156_REG08_CLOCK_ON_OFF = 0x08;
24 static const uint8_t ES8156_REG09_MISC_CONTROL2 = 0x09;
25 static const uint8_t ES8156_REG0A_TIME_CONTROL1 = 0x0a;
26 static const uint8_t ES8156_REG0B_TIME_CONTROL2 = 0x0b;
30 static const uint8_t ES8156_REG0C_CHIP_STATUS = 0x0c;
31 static const uint8_t ES8156_REG0D_P2S_CONTROL = 0x0d;
32 static const uint8_t ES8156_REG10_DAC_OSR_COUNTER = 0x10;
36 static const uint8_t ES8156_REG11_DAC_SDP = 0x11;
37 static const uint8_t ES8156_REG12_AUTOMUTE_SET = 0x12;
38 static const uint8_t ES8156_REG13_DAC_MUTE = 0x13;
39 static const uint8_t ES8156_REG14_VOLUME_CONTROL = 0x14;
44 static const uint8_t ES8156_REG15_ALC_CONFIG1 = 0x15;
45 static const uint8_t ES8156_REG16_ALC_CONFIG2 = 0x16;
46 static const uint8_t ES8156_REG17_ALC_CONFIG3 = 0x17;
47 static const uint8_t ES8156_REG18_MISC_CONTROL3 = 0x18;
48 static const uint8_t ES8156_REG19_EQ_CONTROL1 = 0x19;
49 static const uint8_t ES8156_REG1A_EQ_CONTROL2 = 0x1a;
53 static const uint8_t ES8156_REG20_ANALOG_SYS1 = 0x20;
54 static const uint8_t ES8156_REG21_ANALOG_SYS2 = 0x21;
55 static const uint8_t ES8156_REG22_ANALOG_SYS3 = 0x22;
56 static const uint8_t ES8156_REG23_ANALOG_SYS4 = 0x23;
57 static const uint8_t ES8156_REG24_ANALOG_LP = 0x24;
58 static const uint8_t ES8156_REG25_ANALOG_SYS5 = 0x25;
62 static const uint8_t ES8156_REGFC_I2C_PAGESEL = 0xFC;
63 static const uint8_t ES8156_REGFD_CHIPID1 = 0xFD;
64 static const uint8_t ES8156_REGFE_CHIPID0 = 0xFE;
65 static const uint8_t ES8156_REGFF_CHIP_VERSION = 0xFF;
Implementation of SPI Controller mode.