MT7687 API Reference  LinkIt SDK v4
hal.h
1 /* Copyright Statement:
2  *
3  * (C) 2005-2016 MediaTek Inc. All rights reserved.
4  *
5  * This software/firmware and related documentation ("MediaTek Software") are
6  * protected under relevant copyright laws. The information contained herein
7  * is confidential and proprietary to MediaTek Inc. ("MediaTek") and/or its licensors.
8  * Without the prior written permission of MediaTek and/or its licensors,
9  * any reproduction, modification, use or disclosure of MediaTek Software,
10  * and information contained herein, in whole or in part, shall be strictly prohibited.
11  * You may only use, reproduce, modify, or distribute (as applicable) MediaTek Software
12  * if you have agreed to and been bound by the applicable license agreement with
13  * MediaTek ("License Agreement") and been granted explicit permission to do so within
14  * the License Agreement ("Permitted User"). If you are not a Permitted User,
15  * please cease any access or use of MediaTek Software immediately.
16  * BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
17  * THAT MEDIATEK SOFTWARE RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES
18  * ARE PROVIDED TO RECEIVER ON AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL
19  * WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
20  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
21  * NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
22  * SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
23  * SUPPLIED WITH MEDIATEK SOFTWARE, AND RECEIVER AGREES TO LOOK ONLY TO SUCH
24  * THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. RECEIVER EXPRESSLY ACKNOWLEDGES
25  * THAT IT IS RECEIVER'S SOLE RESPONSIBILITY TO OBTAIN FROM ANY THIRD PARTY ALL PROPER LICENSES
26  * CONTAINED IN MEDIATEK SOFTWARE. MEDIATEK SHALL ALSO NOT BE RESPONSIBLE FOR ANY MEDIATEK
27  * SOFTWARE RELEASES MADE TO RECEIVER'S SPECIFICATION OR TO CONFORM TO A PARTICULAR
28  * STANDARD OR OPEN FORUM. RECEIVER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND
29  * CUMULATIVE LIABILITY WITH RESPECT TO MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
30  * AT MEDIATEK'S OPTION, TO REVISE OR REPLACE MEDIATEK SOFTWARE AT ISSUE,
31  * OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY RECEIVER TO
32  * MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
33  */
34 
35 #ifndef __HAL_H__
36 #define __HAL_H__
37 
153 #include "hal_feature_config.h"
154 #include "hal_log.h"
155 
156 /*****************************************************************************
157 * module header file include
158 *****************************************************************************/
159 #ifdef HAL_ACCDET_MODULE_ENABLED
160 #include "hal_accdet.h"
161 #endif
162 
163 #ifdef HAL_ADC_MODULE_ENABLED
164 #include "hal_adc.h"
165 #endif
166 
167 #ifdef HAL_AES_MODULE_ENABLED
168 #include "hal_aes.h"
169 #endif
170 
171 #ifdef HAL_DAC_MODULE_ENABLED
172 #include "hal_dac.h"
173 #endif
174 
175 #ifdef HAL_DES_MODULE_ENABLED
176 #include "hal_des.h"
177 #endif
178 
179 #ifdef HAL_AUDIO_MODULE_ENABLED
180 #include "hal_audio.h"
181 #endif
182 
183 #ifdef HAL_CACHE_MODULE_ENABLED
184 #include "hal_cache.h"
185 #endif
186 
187 #ifdef HAL_CLOCK_MODULE_ENABLED
188 #include "hal_clock.h"
189 #endif
190 
191 #ifdef HAL_DVFS_MODULE_ENABLED
192 #include "hal_dvfs.h"
193 #endif
194 
195 #ifdef HAL_DES_MODULE_ENABLED
196 #include "hal_des.h"
197 #endif
198 
199 #ifdef HAL_EINT_MODULE_ENABLED
200 #include "hal_eint.h"
201 #endif
202 
203 #ifdef HAL_FLASH_MODULE_ENABLED
204 #include "hal_flash.h"
205 #endif
206 
207 #ifdef HAL_GDMA_MODULE_ENABLED
208 #include "hal_gdma.h"
209 #endif
210 
211 #ifdef HAL_GPC_MODULE_ENABLED
212 #include "hal_gpc.h"
213 #endif
214 
215 #ifdef HAL_GPIO_MODULE_ENABLED
216 #include "hal_gpio.h"
217 #endif
218 
219 #ifdef HAL_GPT_MODULE_ENABLED
220 #include "hal_gpt.h"
221 #endif
222 
223 #ifdef HAL_I2C_MASTER_MODULE_ENABLED
224 #include "hal_i2c_master.h"
225 #endif
226 
227 #ifdef HAL_I2S_MODULE_ENABLED
228 #include "hal_i2s.h"
229 #endif
230 
231 #ifdef HAL_IRRX_MODULE_ENABLED
232 #include "hal_irrx.h"
233 #endif
234 
235 #ifdef HAL_IRTX_MODULE_ENABLED
236 #include "hal_irtx.h"
237 #endif
238 
239 #ifdef HAL_ISINK_MODULE_ENABLED
240 #include "hal_isink.h"
241 #endif
242 
243 #ifdef HAL_KEYPAD_MODULE_ENABLED
244 #include "hal_keypad.h"
245 #endif
246 
247 #ifdef HAL_MD5_MODULE_ENABLED
248 #include "hal_md5.h"
249 #endif
250 
251 #ifdef HAL_MPU_MODULE_ENABLED
252 #include "hal_mpu.h"
253 #endif
254 
255 #ifdef HAL_NVIC_MODULE_ENABLED
256 #include "hal_nvic.h"
257 #endif
258 
259 #ifdef HAL_PWM_MODULE_ENABLED
260 #include "hal_pwm.h"
261 #endif
262 
263 #ifdef HAL_RTC_MODULE_ENABLED
264 #include "hal_rtc.h"
265 #endif
266 
267 #ifdef HAL_SD_MODULE_ENABLED
268 #include "hal_sd.h"
269 #endif
270 
271 #ifdef HAL_SDIO_MODULE_ENABLED
272 #include "hal_sdio.h"
273 #endif
274 
275 #ifdef HAL_SDIO_SLAVE_MODULE_ENABLED
276 #include "hal_sdio_slave.h"
277 #endif
278 
279 #ifdef HAL_SHA_MODULE_ENABLED
280 #include "hal_sha.h"
281 #endif
282 
283 #ifdef HAL_SPI_MASTER_MODULE_ENABLED
284 #include "hal_spi_master.h"
285 #endif
286 
287 #ifdef HAL_SPI_SLAVE_MODULE_ENABLED
288 #include "hal_spi_slave.h"
289 #endif
290 
291 #ifdef HAL_TRNG_MODULE_ENABLED
292 #include "hal_trng.h"
293 #endif
294 
295 #ifdef HAL_UART_MODULE_ENABLED
296 #include "hal_uart.h"
297 #endif
298 
299 #ifdef HAL_USB_MODULE_ENABLED
300 #include "hal_usb.h"
301 #endif
302 
303 #ifdef HAL_WDT_MODULE_ENABLED
304 #include "hal_wdt.h"
305 #endif
306 
307 #ifdef HAL_SLEEP_MANAGER_ENABLED
308 #include "hal_sleep_manager.h"
309 #endif
310 
311 #ifdef HAL_G2D_MODULE_ENABLED
312 #include "hal_g2d.h"
313 #endif
314 
315 #ifdef HAL_PMU_MODULE_ENABLED
316 #include "hal_pmu.h"
317 #endif
318 
319 #ifdef __cplusplus
320 extern "C" {
321 #endif
322 
323 
324 #ifdef __cplusplus
325 }
326 #endif
327 
328 #endif /* __HAL_H__ */
329