aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gadc/AT91SAM7/gadc_lld_config.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-03-20 23:41:27 +1000
committerinmarket <andrewh@inmarket.com.au>2014-03-20 23:41:27 +1000
commit271f0c743f31d3ae21ede35909e1f14845c6d338 (patch)
tree03541486e35fd48b3dd76db6c0470a8d860cd964 /drivers/gadc/AT91SAM7/gadc_lld_config.h
parent712ff73f77763eeee798d6913f57e5577adcef3f (diff)
downloaduGFX-271f0c743f31d3ae21ede35909e1f14845c6d338.tar.gz
uGFX-271f0c743f31d3ae21ede35909e1f14845c6d338.tar.bz2
uGFX-271f0c743f31d3ae21ede35909e1f14845c6d338.zip
Updates to GADC to use new simpler gfx queued bufferring.
NOTE: code is still buggy (or the one and only driver is buggy).
Diffstat (limited to 'drivers/gadc/AT91SAM7/gadc_lld_config.h')
-rw-r--r--drivers/gadc/AT91SAM7/gadc_lld_config.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/gadc/AT91SAM7/gadc_lld_config.h b/drivers/gadc/AT91SAM7/gadc_lld_config.h
index ba6cbda2..de5af3d3 100644
--- a/drivers/gadc/AT91SAM7/gadc_lld_config.h
+++ b/drivers/gadc/AT91SAM7/gadc_lld_config.h
@@ -35,7 +35,7 @@
* @note For the AT91SAM7 ADC driver, it post-dates the finding of the bug so we safely
* say that the bug doesn't exist for this driver.
*/
-#define ADC_ISR_FULL_CODE_BUG FALSE
+#define CHIBIOS_ADC_ISR_FULL_CODE_BUG FALSE
/**
* @brief The maximum sample frequency supported by this CPU
@@ -43,11 +43,6 @@
#define GADC_MAX_SAMPLE_FREQUENCY 132000
/**
- * @brief The number of bits in a sample
- */
-#define GADC_BITS_PER_SAMPLE AT91_ADC1_RESOLUTION
-
-/**
* @brief The sample format
*/
#define GADC_SAMPLE_FORMAT ARRAY_DATA_10BITUNSIGNED