From 36f8fba2090491913cb9c565bf3770873678eb8a Mon Sep 17 00:00:00 2001 From: Rob Purchase Date: Fri, 4 Apr 2008 23:43:31 +0000 Subject: 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 --- firmware/export/tcc780x.h | 1 + 1 file changed, 1 insertion(+) (limited to 'firmware/export/tcc780x.h') 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 @@ #define TIMER0_IRQ_MASK (1<<6) #define DAI_RX_IRQ_MASK (1<<14) #define DAI_TX_IRQ_MASK (1<<15) +#define ADC_IRQ_MASK (1<<30) /* Timer / Counters */ -- cgit v1.2.3