summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorRob Purchase <shotofadds@rockbox.org>2008-04-04 23:43:31 +0000
committerRob Purchase <shotofadds@rockbox.org>2008-04-04 23:43:31 +0000
commit36f8fba2090491913cb9c565bf3770873678eb8a (patch)
tree1e79d85e105dc86014e1bb6f9065446c23f2ed9c /firmware/export
parent32bd0f8ab1526e32011937a827b6e44476a6743e (diff)
downloadrockbox-36f8fba2090491913cb9c565bf3770873678eb8a.tar.gz
rockbox-36f8fba2090491913cb9c565bf3770873678eb8a.zip
Tick/IRQ driven ADCs for TCC780x. Solves the weird button behaviour mentioned on the D2 wiki page.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16974 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/tcc780x.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/export/tcc780x.h b/firmware/export/tcc780x.h
index 89c2fdd9c4..f153d14bfe 100644
--- a/firmware/export/tcc780x.h
+++ b/firmware/export/tcc780x.h
@@ -123,6 +123,7 @@
123#define TIMER0_IRQ_MASK (1<<6) 123#define TIMER0_IRQ_MASK (1<<6)
124#define DAI_RX_IRQ_MASK (1<<14) 124#define DAI_RX_IRQ_MASK (1<<14)
125#define DAI_TX_IRQ_MASK (1<<15) 125#define DAI_TX_IRQ_MASK (1<<15)
126#define ADC_IRQ_MASK (1<<30)
126 127
127/* Timer / Counters */ 128/* Timer / Counters */
128 129