diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-11 15:07:23 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-11 15:07:23 +0000 |
commit | 6a86c0b93783dd3a6c387c5c4707d4460073fa9b (patch) | |
tree | 2202e1a86180ecd2eaa2b72fd85d4f4a4a10bf55 /os/hal/platforms | |
parent | 444d818b2269be3331cf00b8001cfb1e0f224bdb (diff) | |
download | ChibiOS-6a86c0b93783dd3a6c387c5c4707d4460073fa9b.tar.gz ChibiOS-6a86c0b93783dd3a6c387c5c4707d4460073fa9b.tar.bz2 ChibiOS-6a86c0b93783dd3a6c387c5c4707d4460073fa9b.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5412 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms')
-rw-r--r-- | os/hal/platforms/SPC5xx/EQADC_v1/adc_lld.h | 117 |
1 files changed, 52 insertions, 65 deletions
diff --git a/os/hal/platforms/SPC5xx/EQADC_v1/adc_lld.h b/os/hal/platforms/SPC5xx/EQADC_v1/adc_lld.h index 7c04fa56a..667f9648b 100644 --- a/os/hal/platforms/SPC5xx/EQADC_v1/adc_lld.h +++ b/os/hal/platforms/SPC5xx/EQADC_v1/adc_lld.h @@ -33,71 +33,58 @@ * @name Analog channel identifiers
* @{
*/
-#define ADC_CHN_AN0 0U
-#define ADC_CHN_AN1 1U
-#define ADC_CHN_AN2 2U
-#define ADC_CHN_AN3 3U
-#define ADC_CHN_AN4 4U
-#define ADC_CHN_AN5 5U
-#define ADC_CHN_AN6 6U
-#define ADC_CHN_AN7 7U
-#define ADC_CHN_AN8 8U
-#define ADC_CHN_AN9 9U
-#define ADC_CHN_AN10 10U
-#define ADC_CHN_AN11 11U
-#define ADC_CHN_AN12 12U
-#define ADC_CHN_AN13 13U
-#define ADC_CHN_AN14 14U
-#define ADC_CHN_AN15 15U
-#define ADC_CHN_AN16 16U
-#define ADC_CHN_AN17 17U
-#define ADC_CHN_AN18 18U
-#define ADC_CHN_AN19 19U
-#define ADC_CHN_AN20 20U
-#define ADC_CHN_AN21 21U
-#define ADC_CHN_AN22 22U
-#define ADC_CHN_AN23 23U
-#define ADC_CHN_AN24 24U
-#define ADC_CHN_AN25 25U
-#define ADC_CHN_AN26 26U
-#define ADC_CHN_AN27 27U
-#define ADC_CHN_AN28 28U
-#define ADC_CHN_AN29 29U
-#define ADC_CHN_AN30 30U
-#define ADC_CHN_AN31 31U
-#define ADC_CHN_AN32 32U
-#define ADC_CHN_AN33 33U
-#define ADC_CHN_AN34 34U
-#define ADC_CHN_AN35 35U
-#define ADC_CHN_AN36 36U
-#define ADC_CHN_AN37 37U
-#define ADC_CHN_AN38 38U
-#define ADC_CHN_AN39 39U
-#define ADC_CHN_VRH 40U
-#define ADC_CHN_VRL 41U
-#define ADC_CHN_VREF50 42U
-#define ADC_CHN_VREF75 43U
-#define ADC_CHN_VREF25 44U
-#define ADC_CHN_BANDGAP 45U
-#define ADC_CHN_DAN0 96U
-#define ADC_CHN_DAN1 97U
-#define ADC_CHN_DAN2 98U
-#define ADC_CHN_DAN3 99U
-#define ADC_CHN_TEMP_SENSOR 128U
-#define ADC_CHN_SPARE 129U
-
-#define VRH 40UL
-#define VRL 41UL
-#define VRef_50 42UL
-#define VRef_75 43UL
-#define VRef_25 44UL
-#define Bandgap 45UL
-#define DAN_0 96UL
-#define DAN_1 97UL
-#define DAN_2 98UL
-#define DAN_3 99UL
-#define Temperature_Sensor 128UL
-#define Spare 129UL
+#define ADC_CHN_AN0 0U
+#define ADC_CHN_AN1 1U
+#define ADC_CHN_AN2 2U
+#define ADC_CHN_AN3 3U
+#define ADC_CHN_AN4 4U
+#define ADC_CHN_AN5 5U
+#define ADC_CHN_AN6 6U
+#define ADC_CHN_AN7 7U
+#define ADC_CHN_AN8 8U
+#define ADC_CHN_AN9 9U
+#define ADC_CHN_AN10 10U
+#define ADC_CHN_AN11 11U
+#define ADC_CHN_AN12 12U
+#define ADC_CHN_AN13 13U
+#define ADC_CHN_AN14 14U
+#define ADC_CHN_AN15 15U
+#define ADC_CHN_AN16 16U
+#define ADC_CHN_AN17 17U
+#define ADC_CHN_AN18 18U
+#define ADC_CHN_AN19 19U
+#define ADC_CHN_AN20 20U
+#define ADC_CHN_AN21 21U
+#define ADC_CHN_AN22 22U
+#define ADC_CHN_AN23 23U
+#define ADC_CHN_AN24 24U
+#define ADC_CHN_AN25 25U
+#define ADC_CHN_AN26 26U
+#define ADC_CHN_AN27 27U
+#define ADC_CHN_AN28 28U
+#define ADC_CHN_AN29 29U
+#define ADC_CHN_AN30 30U
+#define ADC_CHN_AN31 31U
+#define ADC_CHN_AN32 32U
+#define ADC_CHN_AN33 33U
+#define ADC_CHN_AN34 34U
+#define ADC_CHN_AN35 35U
+#define ADC_CHN_AN36 36U
+#define ADC_CHN_AN37 37U
+#define ADC_CHN_AN38 38U
+#define ADC_CHN_AN39 39U
+#define ADC_CHN_VRH 40U
+#define ADC_CHN_VRL 41U
+#define ADC_CHN_VREF50 42U
+#define ADC_CHN_VREF75 43U
+#define ADC_CHN_VREF25 44U
+#define ADC_CHN_BANDGAP 45U
+#define ADC_CHN_DAN0 96U
+#define ADC_CHN_DAN1 97U
+#define ADC_CHN_DAN2 98U
+#define ADC_CHN_DAN3 99U
+#define ADC_CHN_TEMP_SENSOR 128U
+#define ADC_CHN_SPARE 129U
/** @} */
/**
|