diff options
Diffstat (limited to 'firmware/export/aic3x.h')
-rw-r--r-- | firmware/export/aic3x.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/firmware/export/aic3x.h b/firmware/export/aic3x.h index 17e5ea019a..4cfa0a5535 100644 --- a/firmware/export/aic3x.h +++ b/firmware/export/aic3x.h | |||
@@ -30,6 +30,8 @@ extern int tenthdb2master(int db); | |||
30 | /*** definitions ***/ | 30 | /*** definitions ***/ |
31 | extern void audiohw_set_headphone_vol(int vol_l, int vol_r); | 31 | extern void audiohw_set_headphone_vol(int vol_l, int vol_r); |
32 | 32 | ||
33 | extern void aic3x_switch_output(bool stereo); | ||
34 | |||
33 | /* Page 0 registers */ | 35 | /* Page 0 registers */ |
34 | #define AIC3X_PAGE_SELECT 0 | 36 | #define AIC3X_PAGE_SELECT 0 |
35 | #define AIC3X_SOFT_RESET 1 | 37 | #define AIC3X_SOFT_RESET 1 |
@@ -42,10 +44,17 @@ extern void audiohw_set_headphone_vol(int vol_l, int vol_r); | |||
42 | #define AIC3X_DATA_REG_A 8 | 44 | #define AIC3X_DATA_REG_A 8 |
43 | #define AIC3X_DATA_REG_B 9 | 45 | #define AIC3X_DATA_REG_B 9 |
44 | #define AIC3X_DATA_REG_C 10 | 46 | #define AIC3X_DATA_REG_C 10 |
47 | #define AIC3X_OVERFLOW 11 | ||
48 | |||
49 | #define AIC3X_LINE1L_LEFTADC 19 | ||
50 | |||
51 | #define AIC3X_LINE1R_RIGHTADC 22 | ||
45 | 52 | ||
46 | #define AIC3X_DAC_POWER 37 | 53 | #define AIC3X_DAC_POWER 37 |
47 | #define AIC3X_HIGH_POWER 38 | 54 | #define AIC3X_HIGH_POWER 38 |
48 | 55 | ||
56 | #define AIC3X_POWER_OUT 40 | ||
57 | |||
49 | #define AIC3X_POP_REDUCT 42 | 58 | #define AIC3X_POP_REDUCT 42 |
50 | #define AIC3X_LEFT_VOL 43 | 59 | #define AIC3X_LEFT_VOL 43 |
51 | #define AIC3X_RIGHT_VOL 44 | 60 | #define AIC3X_RIGHT_VOL 44 |
@@ -60,7 +69,9 @@ extern void audiohw_set_headphone_vol(int vol_l, int vol_r); | |||
60 | 69 | ||
61 | #define AIC3X_DAC_L1_MONO_LOP_M_VOL 75 | 70 | #define AIC3X_DAC_L1_MONO_LOP_M_VOL 75 |
62 | 71 | ||
63 | #define AIC3X_DAC_R1_MONO_LOP_M_VOL 76 | 72 | #define AIC3X_LINE2R_MONO_LOP_M_VOL 76 |
73 | #define AIC3X_PGA_R_MONO_LOP_M_VOL 77 | ||
74 | #define AIC3X_DAC_R1_MONO_LOP_M_VOL 78 | ||
64 | 75 | ||
65 | #define AIC3X_MONO_LOP_M_LVL 79 | 76 | #define AIC3X_MONO_LOP_M_LVL 79 |
66 | 77 | ||