blob: f8151c7abed4304dd89270fb9941722106af026a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
|
/**********************************************************************************
*
* @file ald_conf.h
* @brief Enable/Disable the peripheral module.
*
* @date 30 Apri 2021
* @author AE Team
* @note
* Change Logs:
* Date Author Notes
* 30 Apri 2021 yanght the first version
*
* Copyright (C) Shanghai Eastsoft Microelectronics Co. Ltd. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
**********************************************************************************
*/
#ifndef __ALD_CONF_H__
#define __ALD_CONF_H__
/* Exported Macros ----------------------------------------------------------- */
#define ALD_ACMP
#define ALD_ADC
#define ALD_BKPC
#define ALD_CALC
#define ALD_CAN
#define ALD_CMU
#define ALD_CRC
#define ALD_CRYPT
#define ALD_DAC
#define ALD_DBGC
#define ALD_DMA
#define ALD_EBI
#define ALD_FLASH
#define ALD_GPIO
#define ALD_I2C
#define ALD_I2S
#define ALD_IAP
#define ALD_NAND
#define ALD_NOR
#define ALD_PIS
#define ALD_PMU
#define ALD_QSPI
#define ALD_RMU
#define ALD_RTC
#define ALD_SPI
#define ALD_SRAM
#define ALD_SYSCFG
#define ALD_TIMER
#define ALD_TRNG
#define ALD_TSENSE
#define ALD_UART
#define ALD_USB
#define ALD_WDT
#define TYPE_H
#define UTILS
/* Includes ------------------------------------------------------------------ */
#ifdef ALD_ACMP
#include "ald_acmp.h"
#endif /* ALD_ACMP */
#ifdef ALD_ADC
#include "ald_adc.h"
#endif /* ALD_ADC */
#ifdef ALD_BKPC
#include "ald_bkpc.h"
#endif /* ALD_BKPC */
#ifdef ALD_CALC
#include "ald_calc.h"
#endif /* ALD_CALC */
#ifdef ALD_CAN
#include "ald_can.h"
#endif /* ALD_CAN */
#ifdef ALD_CMU
#include "ald_cmu.h"
#endif /* ALD_CMU */
#ifdef ALD_CRC
#include "ald_crc.h"
#endif /* ALD_CRC */
#ifdef ALD_CRYPT
#include "ald_crypt.h"
#endif /* ALD_CRYPT */
#ifdef ALD_DAC
#include "ald_dac.h"
#endif /* ALD_DAC */
#ifdef ALD_DBGC
#include "ald_dbgc.h"
#endif /* ALD_DBGC */
#ifdef ALD_DMA
#include "ald_dma.h"
#endif /* ALD_DMA */
#ifdef ALD_EBI
#include "ald_ebi.h"
#endif /* ALD_EBI */
#ifdef ALD_FLASH
#include "ald_flash.h"
#endif /* ALD_FLASH */
#ifdef ALD_GPIO
#include "ald_gpio.h"
#endif /* ALD_GPIO */
#ifdef ALD_I2C
#include "ald_i2c.h"
#endif /* ALD_I2C */
#ifdef ALD_I2S
#include "ald_i2s.h"
#endif /* ALD_I2S */
#ifdef ALD_IAP
#include "ald_iap.h"
#endif /* ALD_IAP */
#ifdef ALD_NAND
#include "ald_nand.h"
#endif /* ALD_NAND */
#ifdef ALD_NOR
#include "ald_nor_lcd.h"
#endif /* ALD_NOR */
#ifdef ALD_PIS
#include "ald_pis.h"
#endif /* ALD_PIS */
#ifdef ALD_PMU
#include "ald_pmu.h"
#endif /* ALD_PMU */
#ifdef ALD_QSPI
#include "ald_qspi.h"
#endif /* ALD_QSPI */
#ifdef ALD_RMU
#include "ald_rmu.h"
#endif /* ALD_RMU */
#ifdef ALD_RTC
#include "ald_rtc.h"
#endif /* ALD_RTC */
#ifdef ALD_RTC
#include "ald_rtchw.h"
#endif /* ALD_RTC */
#ifdef ALD_SPI
#include "ald_spi.h"
#endif /* ALD_SPI */
#ifdef ALD_SRAM
#include "ald_sram.h"
#endif /* ALD_SRAM */
#ifdef ALD_SYSCFG
#include "ald_syscfg.h"
#endif /* ALD_SYSCFG */
#ifdef ALD_TIMER
#include "ald_timer.h"
#endif /* ALD_TIMER */
#ifdef ALD_TRNG
#include "ald_trng.h"
#endif /* ALD_TRNG */
#ifdef ALD_TSENSE
#include "ald_tsense.h"
#endif /* ALD_TSENSE */
#ifdef ALD_UART
#include "ald_uart.h"
#endif /* ALD_UART */
#ifdef ALD_USB
#include "ald_usb.h"
#endif /* ALD_USB */
#ifdef ALD_WDT
#include "ald_wdt.h"
#endif /* ALD_WDT */
#ifdef TYPE_H
#include "type.h"
#endif /* TYPE_H */
#ifdef UTILS
#include "utils.h"
#endif /* UTILS */
#if defined(ALD_NAND) || defined(ALD_NOR) || defined(ALD_SRAM)
#define ALD_EBI
#endif /*ALD_EBI*/
#define TICK_INT_PRIORITY 3
/* Exported Types ------------------------------------------------------------ */
/* Exported Variables -------------------------------------------------------- */
/* Exported Constants -------------------------------------------------------- */
/* Exported Functions -------------------------------------------------------- */
#endif /*__ALD_CONF_H__*/
/************* (C) COPYRIGHT Eastsoft Microelectronics *****END OF FILE****/
|