Rev 1 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1 | Rev 196 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /******************** (C) COPYRIGHT 2006 STMicroelectronics ******************** |
1 | /******************** (C) COPYRIGHT 2008 STMicroelectronics ******************** |
2 | * File Name : 91x_conf.h |
2 | * File Name : 91x_conf.h |
3 | * Author : MCD Application Team |
3 | * Author : MCD Application Team |
- | 4 | * Version : V2.1 |
|
4 | * Date First Issued : 05/18/2006 : Version 1.0 |
5 | * Date : 12/22/2008 |
5 | * Description : Library configuration. |
6 | * Description : Library configuration |
6 | ******************************************************************************** |
- | |
7 | * History: |
- | |
8 | * 05/22/2007 : Version 1.2 |
- | |
9 | * 05/24/2006 : Version 1.1 |
- | |
10 | * 05/18/2006 : Version 1.0 |
- | |
11 | ******************************************************************************** |
7 | ******************************************************************************** |
12 | * THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH |
8 | * THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH |
13 | * CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS |
9 | * CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS |
14 | * A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT |
10 | * A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT |
15 | * OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT |
11 | * OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT |
Line 19... | Line 15... | ||
19 | 15 | ||
20 | 16 | ||
Line 21... | Line 17... | ||
21 | #ifndef __91x_CONF_H |
17 | #ifndef __91x_CONF_H |
- | 18 | #define __91x_CONF_H |
|
- | 19 | ||
- | 20 | /* To work in buffered mode just Uncomment the following line */ |
|
- | 21 | //#define Buffered |
|
- | 22 | ||
- | 23 | /*Uncomment the line below to compile the library in DEBUG mode */ |
|
- | 24 | //#define DEBUG 1 |
|
- | 25 | ||
- | 26 | /*Uncomment the following line to boot from Bank0*/ |
|
- | 27 | //#define Boot_Bank_0 |
|
- | 28 | ||
- | 29 | /*Uncomment the following line to boot from Bank1*/ |
|
- | 30 | #define Boot_Bank_1 |
|
Line -... | Line 31... | ||
- | 31 | ||
22 | #define __91x_CONF_H |
32 | /*Uncomment the following line if the Flash size is 256KB or 512KB*/ |
Line 23... | Line -... | ||
23 | - | ||
24 | /* To work in buffered mode just decomment the following line */ |
- | |
Line 25... | Line 33... | ||
25 | 33 | #define Flash_512KB_256KB |
|
26 | //#define LIBUFF |
34 | |
27 | 35 | /*Uncomment the following line if the Flash size is 1MB or 2MB */ |
|
28 | /* Comment the line below to put the library in release mode */ |
36 | //#define Flash_2MB_1MB |
29 | //#define LIBDEBUG |
37 | |
30 | 38 | ||
31 | /************************* AHBAPB *************************/ |
39 | /************************* AHBAPB *************************/ |
32 | #define _AHBAPB |
40 | //#define _AHBAPB |
33 | #define _AHBAPB0 |
41 | //#define _AHBAPB0 |
34 | #define _AHBAPB1 |
42 | //#define _AHBAPB1 |
35 | /************************* VIC *************************/ |
43 | /************************* VIC *************************/ |
36 | #define _VIC |
44 | #define _VIC |
37 | #define _VIC0 |
45 | #define _VIC0 |
38 | #define _VIC1 |
46 | #define _VIC1 |
39 | /************************* DMA *************************/ |
47 | /************************* DMA *************************/ |
40 | #define _DMA |
48 | //#define _DMA |
41 | #define _DMA_Channel0 |
49 | //#define _DMA_Channel0 |
42 | #define _DMA_Channel1 |
50 | //#define _DMA_Channel1 |
Line 43... | Line 51... | ||
43 | #define _DMA_Channel2 |
51 | //#define _DMA_Channel2 |
44 | #define _DMA_Channel3 |
52 | //#define _DMA_Channel3 |
45 | #define _DMA_Channel4 |
53 | //#define _DMA_Channel4 |
46 | #define _DMA_Channel5 |
54 | //#define _DMA_Channel5 |
47 | #define _DMA_Channel6 |
55 | //#define _DMA_Channel6 |
48 | #define _DMA_Channel7 |
56 | //#define _DMA_Channel7 |
49 | 57 | ||
50 | /************************* EMI *************************/ |
58 | /************************* EMI *************************/ |
51 | #define _EMI |
59 | //#define _EMI |
52 | #define _EMI_Bank0 |
60 | //#define _EMI_Bank0 |
53 | #define _EMI_Bank1 |
61 | //#define _EMI_Bank1 |
Line 74... | Line 82... | ||
74 | #define _GPIO6 |
82 | #define _GPIO6 |
75 | #define _GPIO7 |
83 | #define _GPIO7 |
76 | #define _GPIO8 |
84 | #define _GPIO8 |
77 | #define _GPIO9 |
85 | #define _GPIO9 |
78 | /************************* RTC *************************/ |
86 | /************************* RTC *************************/ |
79 | #define _RTC |
87 | //#define _RTC |
80 | /************************* SCU *************************/ |
88 | /************************* SCU *************************/ |
81 | #define _SCU |
89 | #define _SCU |
82 | /************************* MC **************************/ |
90 | /************************* MC **************************/ |
83 | #define _MC |
91 | //#define _MC |
84 | /************************* UART ************************/ |
92 | /************************* UART ************************/ |
85 | #define _UART |
93 | #define _UART |
86 | #define _UART0 |
94 | #define _UART0 |
87 | #define _UART1 |
95 | #define _UART1 |
88 | #define _UART2 |
96 | #define _UART2 |
89 | /************************* SSP *************************/ |
97 | /************************* SSP *************************/ |
90 | #define _SSP |
98 | #define _SSP |
91 | #define _SSP0 |
99 | #define _SSP0 |
92 | #define _SSP1 |
100 | #define _SSP1 |
93 | /************************* CAN *************************/ |
101 | /************************* CAN *************************/ |
94 | #define _CAN |
102 | //#define _CAN |
95 | /************************* ADC *************************/ |
103 | /************************* ADC *************************/ |
96 | #define _ADC |
104 | #define _ADC |
97 | /************************* WDG *************************/ |
105 | /************************* WDG *************************/ |
98 | #define _WDG |
106 | //#define _WDG |
99 | /************************* I2C *************************/ |
107 | /************************* I2C *************************/ |
100 | #define _I2C |
108 | #define _I2C |
101 | #define _I2C0 |
109 | //#define _I2C0 |
102 | #define _I2C1 |
110 | #define _I2C1 |
103 | /************************ ENET *************************/ |
111 | /************************ ENET *************************/ |
104 | #define _ENET |
112 | //#define _ENET |
- | 113 | /************************ USB *************************/ |
|
- | 114 | #define _USB |
|
Line 105... | Line 115... | ||
105 | 115 | ||
Line 106... | Line 116... | ||
106 | /*---------------------------- _Main_Crystal frequency value (KHz)------------*/ |
116 | /*---------------------------- _Main_Crystal frequency value (KHz)------------*/ |
107 | 117 | ||
108 | //#ifndef _Main_Crystal |
118 | #ifndef _Main_Crystal |
109 | //#define _Main_Crystal 25000 |
119 | #define _Main_Crystal 25000 |
Line 110... | Line 120... | ||
110 | //#endif |
120 | #endif |
Line 111... | Line 121... | ||
111 | /*------------------------------------------------------------------------------*/ |
121 | /*------------------------------------------------------------------------------*/ |