16FXlib
adc.cfg.h
Go to the documentation of this file.
1 
2 //*****************************************************************************
3 // Author : Christian Illy
4 // Created : 20.04.2009
5 // Revised : 29.06.2009
6 // Version : 0.1
7 // Target MCU : Fujitsu MB96300 series
8 //
9 // This program is free software: you can redistribute it and/or modify
10 // it under the terms of the GNU General Public License as published by
11 // the Free Software Foundation, either version 3 of the License, or
12 // (at your option) any later version.
13 //
14 // This program is distributed in the hope that it will be useful,
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 // GNU General Public License for more details.
18 //
19 // You should have received a copy of the GNU General Public License
20 // along with this program. If not, see <http://www.gnu.org/licenses/>.
21 //
27 //*****************************************************************************
29 
30 #ifndef ADC_CFG_H_
31 #define ADC_CFG_H_
32 
34 #define ADC_ADCS_BUSY 15
35 #define ADC_ADCS_INT 14
37 #define ADC_ADCS_INTE 13
39 #define ADC_ADCS_PAUS 12
41 #define ADC_ADCS_STS1 11
43 #define ADC_ADCS_STS0 10
45 #define ADC_ADCS_STRT 9
47 #define ADC_ADCS_MD1 7
49 #define ADC_ADCS_MD0 6
51 #define ADC_ADCS_S10 5
53 
55 #define ADC_PIN_MASK 0xff //(_BV(1) | _BV(2))
56 
57 
58 #endif /* ADC_CFG_H_ */
59