diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/tsc2100.h | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/firmware/export/tsc2100.h b/firmware/export/tsc2100.h index ff30c64559..9f3ceadcc9 100644 --- a/firmware/export/tsc2100.h +++ b/firmware/export/tsc2100.h | |||
@@ -70,7 +70,13 @@ void tsc2100_writereg(int page, int address, short value); | |||
70 | #define TSRESET_ADDRESS 0x04 | 70 | #define TSRESET_ADDRESS 0x04 |
71 | #define TSRESET_VALUE 0xBB00 | 71 | #define TSRESET_VALUE 0xBB00 |
72 | 72 | ||
73 | /* ts codec dac gain control */ | ||
74 | #define TSDACGAIN_PAGE 2 | ||
75 | #define TSDACGAIN_ADDRESS 0x02 | ||
73 | 76 | ||
77 | /* ts audio control 1*/ | ||
78 | #define TSAC1_PAGE 2 | ||
79 | #define TSAC1_ADDRESS 0x00 | ||
74 | 80 | ||
75 | /* ts audio control 2 */ | 81 | /* ts audio control 2 */ |
76 | #define TSAC2_PAGE 2 | 82 | #define TSAC2_PAGE 2 |
@@ -88,17 +94,20 @@ void tsc2100_writereg(int page, int address, short value); | |||
88 | #define TSAC2_DASTC (1<<1) | 94 | #define TSAC2_DASTC (1<<1) |
89 | #define TSAC2_ADGAF (1<<0) /* r only */ | 95 | #define TSAC2_ADGAF (1<<0) /* r only */ |
90 | 96 | ||
97 | /* ts codec power control */ | ||
98 | #define TSCPC_PAGE 2 | ||
99 | #define TSCPC_ADDRESS 0x05 | ||
91 | 100 | ||
101 | /* ts audio control 3 */ | ||
102 | #define TSAC3_PAGE 2 | ||
103 | #define TSAC3_ADDRESS 0x06 | ||
92 | 104 | ||
105 | /* ts audio control 4 */ | ||
106 | #define TSAC4_PAGE 2 | ||
107 | #define TSAC4_ADDRESS 0x1d | ||
93 | 108 | ||
94 | 109 | /* ts audio control 5 */ | |
95 | 110 | #define TSAC5_PAGE 2 | |
96 | 111 | #define TSAC5_ADDRESS 0x1e | |
97 | |||
98 | |||
99 | |||
100 | |||
101 | |||
102 | |||
103 | 112 | ||
104 | #endif | 113 | #endif |