aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-03-24 15:16:39 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-03-24 15:16:39 +0000
commit9831a1ec8ffdb0d9c4dbe35ecd9b5a69b898bde0 (patch)
treeaf7e2e3aa1b906280b55ae24817346ff412d9c8e /os
parentca3e1fceff045907011d214b13e477b432e04381 (diff)
downloadChibiOS-9831a1ec8ffdb0d9c4dbe35ecd9b5a69b898bde0.tar.gz
ChibiOS-9831a1ec8ffdb0d9c4dbe35ecd9b5a69b898bde0.tar.bz2
ChibiOS-9831a1ec8ffdb0d9c4dbe35ecd9b5a69b898bde0.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5500 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/hal/platforms/STM32F37x/adc_lld.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/platforms/STM32F37x/adc_lld.h b/os/hal/platforms/STM32F37x/adc_lld.h
index c984dc24a..6d4fcb504 100644
--- a/os/hal/platforms/STM32F37x/adc_lld.h
+++ b/os/hal/platforms/STM32F37x/adc_lld.h
@@ -661,8 +661,8 @@ struct ADCDriver {
#define SDADC_CONFR_GAIN_0P5X (7U << 20)
#define SDADC_CONFR_SE_MASK (3U << 26)
#define SDADC_CONFR_SE_DIFF (0U << 26)
-#define SDADC_CONFR_SE_SE_OFF (1U << 26)
-#define SDADC_CONFR_SE_SE_ZV (3U << 26)
+#define SDADC_CONFR_SE_OFFSET (1U << 26)
+#define SDADC_CONFR_SE_ZERO_VOLT (3U << 26)
#define SDADC_CONFR_COMMON_MASK (3U << 30)
#define SDADC_CONFR_COMMON_VSSSD (0U << 30)
#define SDADC_CONFR_COMMON_VDDSD2 (1U << 30)