diff options
author | Catalin Patulea <cat@vv.carleton.ca> | 2007-11-20 05:13:07 +0000 |
---|---|---|
committer | Catalin Patulea <cat@vv.carleton.ca> | 2007-11-20 05:13:07 +0000 |
commit | 0a4e217436c48b7a3c9f65efa0da3f741ec5835a (patch) | |
tree | f46790fb75da0c71da75bf7a438e6e2ef1c057e5 | |
parent | eacf5a500e745b54a85fa8277cc71f053bea612f (diff) | |
download | rockbox-0a4e217436c48b7a3c9f65efa0da3f741ec5835a.tar.gz rockbox-0a4e217436c48b7a3c9f65efa0da3f741ec5835a.zip |
Add some TSC2101 register definitions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15715 a1c6a512-1295-4272-9138-f99709370657
-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 |