1 /* -------------------------------- Arctic Core ------------------------------
2 * Arctic Core - the open source AUTOSAR platform http://arccore.com
4 * Copyright (C) 2009 ArcCore AB <contact@arccore.com>
6 * This source code is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by the
8 * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * -------------------------------- Arctic Core ------------------------------*/
26 #define ADC_PRIORITY_HW 0
\r
27 #define ADC_PRIORITY_HW_SW 1
\r
28 #define ADC_PRIORITY_NONE 2
\r
30 #define ADC_DEINIT_API STD_ON
\r
31 #define ADC_DEV_ERROR_DETECT STD_ON
\r
32 #define ADC_ENABLE_QUEUING STD_ON
\r
33 #define ADC_ENABLE_START_STOP_GROUP_API STD_ON
\r
34 #define ADC_GRP_NOTIF_CAPABILITY STD_ON
\r
35 #define ADC_HW_TRIGGER_API STD_OFF /* Not implemented. */
\r
36 #define ADC_PRIORITY_IMPLEMENTATION ADC_PRIORITY_HW
\r
37 #define ADC_READ_GROUP_API STD_ON
\r
38 #define ADC_VERSION_API STD_ON /* Not implemented. */
\r
40 /* Group definitions. */
\r
75 ADC_NBR_OF_CHANNELS,
\r
80 ADC_TEST_BOARD_AIN1,
\r
81 ADC_TEST_BOARD_AIN2,
\r
82 ADC_TEST_BOARD_AIN3,
\r
83 ADC_TEST_BOARD_AIN4,
\r
84 ADC_TEST_BOARD_AIN5,
\r
85 ADC_TEST_BOARD_AIN6,
\r
86 ADC_TEST_BOARD_AIN7,
\r
87 ADC_NBR_OF_GROUP0_CHANNELS,
\r
88 }Adc_Group0SignalType;
\r
96 ADC_NBR_OF_GROUP1_CHANNELS,
\r
97 }Adc_Group1SignalType;
\r
104 ADC_NBR_OF_GROUP2_CHANNELS,
\r
105 }Adc_Group2Signals;
\r
112 ADC_NBR_OF_GROUP3_CHANNELS,
\r
113 }Adc_Group3Signals;
\r
115 extern const struct tcd_t AdcGroupDMACommandConfig [ADC_NBR_OF_GROUPS];
\r
116 extern const struct tcd_t AdcGroupDMAResultConfig [ADC_NBR_OF_GROUPS];
\r
118 #endif /*ADC_CFG_H_*/
\r