Go to the documentation of this file.
33 #define SSM2602_LINVOL 0x00
34 #define SSM2602_RINVOL 0x01
35 #define SSM2602_LOUT1V 0x02
36 #define SSM2602_ROUT1V 0x03
37 #define SSM2602_APANA 0x04
38 #define SSM2602_APDIGI 0x05
39 #define SSM2602_PWR 0x06
40 #define SSM2602_IFACE 0x07
41 #define SSM2602_SRATE 0x08
42 #define SSM2602_ACTIVE 0x09
43 #define SSM2602_RESET 0x0f
50 #define LINVOL_LIN_VOL 0x01F
51 #define LINVOL_LIN_ENABLE_MUTE 0x080
52 #define LINVOL_LRIN_BOTH 0x100
55 #define RINVOL_RIN_VOL 0x01F
56 #define RINVOL_RIN_ENABLE_MUTE 0x080
57 #define RINVOL_RLIN_BOTH 0x100
60 #define LOUT1V_LHP_VOL 0x07F
61 #define LOUT1V_ENABLE_LZC 0x080
62 #define LOUT1V_LRHP_BOTH 0x100
65 #define ROUT1V_RHP_VOL 0x07F
66 #define ROUT1V_ENABLE_RZC 0x080
67 #define ROUT1V_RLHP_BOTH 0x100
70 #define APANA_ENABLE_MIC_BOOST 0x001
71 #define APANA_ENABLE_MIC_MUTE 0x002
72 #define APANA_ADC_IN_SELECT 0x004
73 #define APANA_ENABLE_BYPASS 0x008
74 #define APANA_SELECT_DAC 0x010
75 #define APANA_ENABLE_SIDETONE 0x020
76 #define APANA_SIDETONE_ATTN 0x0C0
77 #define APANA_ENABLE_MIC_BOOST2 0x100
80 #define APDIGI_ENABLE_ADC_HPF 0x001
81 #define APDIGI_DE_EMPHASIS 0x006
82 #define APDIGI_ENABLE_DAC_MUTE 0x008
83 #define APDIGI_STORE_OFFSET 0x010
88 #define PWR_LINE_IN_PDN 0x001
89 #define PWR_MIC_PDN 0x002
90 #define PWR_ADC_PDN 0x004
91 #define PWR_DAC_PDN 0x008
92 #define PWR_OUT_PDN 0x010
93 #define PWR_OSC_PDN 0x020
94 #define PWR_CLK_OUT_PDN 0x040
95 #define PWR_POWER_OFF 0x080
98 #define IFACE_IFACE_FORMAT 0x003
99 #define IFACE_AUDIO_DATA_LEN 0x00C
100 #define IFACE_DAC_LR_POLARITY 0x010
101 #define IFACE_DAC_LR_SWAP 0x020
102 #define IFACE_ENABLE_MASTER 0x040
103 #define IFACE_BCLK_INVERT 0x080
106 #define SRATE_ENABLE_USB_MODE 0x001
107 #define SRATE_BOS_RATE 0x002
108 #define SRATE_SAMPLE_RATE 0x03C
109 #define SRATE_CORECLK_DIV2 0x040
110 #define SRATE_CLKOUT_DIV2 0x080
113 #define ACTIVE_ACTIVATE_CODEC 0x001
117 #define SSM2602_CACHEREGNUM 10