projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add full support for AT91SAM7S64, AT91SAM7S128, AT91SAM7S512, AT91SAM7X512.
[bertos.git]
/
bertos
/
cpu
/
arm
/
drv
/
adc_at91.h
diff --git
a/bertos/cpu/arm/drv/adc_at91.h
b/bertos/cpu/arm/drv/adc_at91.h
index 6c77de0f431a72dabdfe013b9a1367746cb28e2e..f1125980623afe10d47fe8dedacbf7514c8e2d43 100644
(file)
--- a/
bertos/cpu/arm/drv/adc_at91.h
+++ b/
bertos/cpu/arm/drv/adc_at91.h
@@
-69,11
+69,11
@@
* Define PIO controller for enable ADC function.
* \{
*/
* Define PIO controller for enable ADC function.
* \{
*/
-#if CPU_ARM_
AT91SAM7X256
+#if CPU_ARM_
SAM7X
#define ADC_PIO_DISABLE PIOB_PDR
#define ADC_PIO_EN_FUNC PIOB_ASR
#define ADC_PIO_DISABLE PIOB_PDR
#define ADC_PIO_EN_FUNC PIOB_ASR
-#elif CPU_ARM_
AT91SAM7S256
+#elif CPU_ARM_
SAM7S_LARGE
#define ADC_PIO_DISABLE PIOA_PDR
#define ADC_PIO_EN_FUNC PIOA_BSR
#define ADC_PIO_DISABLE PIOA_PDR
#define ADC_PIO_EN_FUNC PIOA_BSR