PDL for FM0+  Version1.0
Peripheral Driverl Library for FM0+
C:/pdl_v10/library/driver/pdl_header.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 * Copyright (C) 2013 Spansion LLC. All Rights Reserved.
00003 *
00004 * This software is owned and published by:
00005 * Spansion LLC, 915 DeGuigne Dr. Sunnyvale, CA  94088-3453 ("Spansion").
00006 *
00007 * BY DOWNLOADING, INSTALLING OR USING THIS SOFTWARE, YOU AGREE TO BE BOUND
00008 * BY ALL THE TERMS AND CONDITIONS OF THIS AGREEMENT.
00009 *
00010 * This software contains source code for use with Spansion
00011 * components. This software is licensed by Spansion to be adapted only
00012 * for use in systems utilizing Spansion components. Spansion shall not be
00013 * responsible for misuse or illegal use of this software for devices not
00014 * supported herein.  Spansion is providing this software "AS IS" and will
00015 * not be responsible for issues arising from incorrect user implementation
00016 * of the software.
00017 *
00018 * SPANSION MAKES NO WARRANTY, EXPRESS OR IMPLIED, ARISING BY LAW OR OTHERWISE,
00019 * REGARDING THE SOFTWARE (INCLUDING ANY ACOOMPANYING WRITTEN MATERIALS),
00020 * ITS PERFORMANCE OR SUITABILITY FOR YOUR INTENDED USE, INCLUDING,
00021 * WITHOUT LIMITATION, THE IMPLIED WARRANTY OF MERCHANTABILITY, THE IMPLIED
00022 * WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE OR USE, AND THE IMPLIED
00023 * WARRANTY OF NONINFRINGEMENT.
00024 * SPANSION SHALL HAVE NO LIABILITY (WHETHER IN CONTRACT, WARRANTY, TORT,
00025 * NEGLIGENCE OR OTHERWISE) FOR ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT
00026 * LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION,
00027 * LOSS OF BUSINESS INFORMATION, OR OTHER PECUNIARY LOSS) ARISING FROM USE OR
00028 * INABILITY TO USE THE SOFTWARE, INCLUDING, WITHOUT LIMITATION, ANY DIRECT,
00029 * INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOSS OF DATA,
00030 * SAVINGS OR PROFITS,
00031 * EVEN IF SPANSION HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
00032 * YOU ASSUME ALL RESPONSIBILITIES FOR SELECTION OF THE SOFTWARE TO ACHIEVE YOUR
00033 * INTENDED RESULTS, AND FOR THE INSTALLATION OF, USE OF, AND RESULTS OBTAINED
00034 * FROM, THE SOFTWARE.
00035 *
00036 * This software may be replicated in part or whole for the licensed use,
00037 * with the restriction that this Disclaimer and Copyright notice must be
00038 * included with each copy of this software, whether used in part or whole,
00039 * at all times.
00040 */
00041 
00042 /******************************************************************************/
00054 #ifndef __PDL_HEADER_H__
00055 #define __PDL_HEADER_H__
00056 
00057 /******************************************************************************/
00058 /* Include files                                                              */
00059 /******************************************************************************/
00060 #include "mcu.h"
00061 #include "stdio.h"
00062 #include "pdl_user.h"
00063 
00064 /* C binding of definitions if building with C++ compiler                     */
00065 #ifdef __cplusplus
00066 extern "C"
00067 {
00068 #endif
00069 
00070 /******************************************************************************
00071  * Peripheral driver header files inclusion
00072  ******************************************************************************/
00073 // Include adc.h if ADC is active
00074 #if defined(PDL_PERIPHERAL_ADC_ACTIVE)
00075     #include "adc\adc.h"
00076 #endif
00077 
00078 // Include bt.h if BT is active
00079 #if defined(PDL_PERIPHERAL_BT_ACTIVE)
00080     #include "bt\bt.h"
00081 #endif
00082 
00083 // Include clk.h if clock is active
00084 #if defined(PDL_PERIPHERAL_CLK_ACTIVE)
00085     #include "clk\clk.h"
00086 #endif
00087 
00088 // Include cr.h if CR is active
00089 #if defined(PDL_PERIPHERAL_CR_ACTIVE)
00090     #include "cr\cr.h"
00091 #endif
00092 
00093 // Include csv.h if CSV is active
00094 #if defined(PDL_PERIPHERAL_CSV_ACTIVE)
00095     #include "csv\csv.h"
00096 #endif
00097 
00098 // Include dma.h if DMA is active
00099 #if defined(PDL_PERIPHERAL_DMA_ACTIVE)
00100     #include "dma\dma.h"
00101 #endif
00102 
00103 // Include dt.h if DT is active
00104 #if defined(PDL_PERIPHERAL_DT_ACTIVE)
00105     #include "dt\dt.h"
00106 #endif
00107 
00108 // Include exint.h if external interrupt is active
00109 #if defined(PDL_PERIPHERAL_EXINT_ACTIVE) || defined(PDL_PERIPHERAL_NMI_ACTIVE)
00110     #include "exint\exint.h"
00111 #endif
00112 
00113 // Include flash.h if Flash is active
00114 #if defined(PDL_PERIPHERAL_FLASH_ACTIVE)
00115     #include "flash\flash.h"
00116 #endif
00117 
00118 // Include gpio.h and fgpio.h if GPIO is active
00119 #if defined(PDL_PERIPHERAL_GPIO_ACTIVE)
00120     #include "gpio\gpio.h"
00121     #include "gpio\fgpio.h"
00122 #endif
00123 
00124 // Include lpm.h if LPM is active
00125 #if defined(PDL_PERIPHERAL_LPM_ACTIVE)
00126     #include "lpm\lpm.h"
00127 #endif
00128 
00129 // Include lvd.h if LVD is active
00130 #if defined(PDL_PERIPHERAL_LVD_ACTIVE)
00131     #include "lvd\lvd.h"
00132 #endif
00133 
00134 // Include mfs.h if MFS is active
00135 #if defined(PDL_PERIPHERAL_MFS_ACTIVE)
00136     #include "mfs\mfs.h"
00137 #endif
00138 
00139 // Include mft_frt.h if MFT'FRT is active
00140 #if defined(PDL_PERIPHERAL_MFT_FRT_ACTIVE)
00141     #include "mft\mft_frt.h"
00142 #endif
00143 
00144 // Include mft_ocu.h if MFT'OCU is active
00145 #if defined(PDL_PERIPHERAL_MFT_OCU_ACTIVE)
00146     #include "mft\mft_ocu.h"
00147 #endif
00148 
00149 // Include mft_wfg.h if MFT'WFG is active
00150 #if defined(PDL_PERIPHERAL_MFT_WFG_ACTIVE)
00151     #include "mft\mft_wfg.h"
00152 #endif
00153 
00154 // Include mft_icu.h if MFT'ICU is active
00155 #if defined(PDL_PERIPHERAL_MFT_ICU_ACTIVE)
00156     #include "mft\mft_icu.h"
00157 #endif
00158 
00159 // Include mft_adcmp.h if MFT'ADCMP is active
00160 #if defined(PDL_PERIPHERAL_MFT_ADCMP_ACTIVE)
00161     #include "mft\mft_adcmp.h"
00162 #endif
00163 
00164 // Include ppg.h if MFT'PPG is active
00165 #if defined(PDL_PERIPHERAL_PPG_ACTIVE)
00166     #include "ppg\ppg.h"
00167 #endif
00168 
00169 // Include qprc.h if QPRC is active
00170 #if defined(PDL_PERIPHERAL_QPRC_ACTIVE)
00171     #include "qprc\qprc.h"
00172 #endif
00173 
00174 // Include reset.h if reset is active
00175 #if defined(PDL_PERIPHERAL_RESET_ACTIVE)
00176     #include "reset\reset.h"
00177 #endif
00178 
00179 // Include rtc.h if RTC is active
00180 #if defined(PDL_PERIPHERAL_RTC_ACTIVE)
00181     #include "rtc\rtc.h"
00182 #endif
00183 
00184 // Include uid.h if UID is active
00185 #if defined(PDL_PERIPHERAL_UID_ACTIVE)
00186     #include "uid\uid.h"
00187 #endif
00188 
00189 // Include wc.h if WC is active
00190 #if defined(PDL_PERIPHERAL_WC_ACTIVE)
00191     #include "wc\wc.h"
00192 #endif
00193 
00194 // Include wdg.h if WDG is active
00195 #if defined(PDL_PERIPHERAL_WDG_ACTIVE)
00196     #include "wdg\wdg.h"
00197 #endif
00198 
00199 #if (PDL_UTILITY_ENABLE_I2C_POLLING_AT24CXX == PDL_ON) || \
00200     (PDL_UTILITY_ENABLE_I2C_INT_AT24CXX == PDL_ON)
00201     #include "at24cxx\i2c_at24cxx.h"
00202 #endif
00203 
00204 #if (PDL_UTILITY_ENABLE_CSIO_INT_S25FL127S == PDL_ON)
00205     #include "s25fl127s\csio_int_s25fl127s.h"
00206 #endif
00207 
00208 #if (PDL_UTILITY_ENABLE_UART_PRINTF == PDL_ON)
00209     #include "printf\uart_printf.h"
00210 #endif
00211 
00212 #ifdef __cplusplus
00213 }
00214 #endif
00215 
00216 #endif  /* __PDL_HEADER_H__ */
00217 
00218 /******************************************************************************/
00219 /* EOF (not truncated)                                                        */
00220 /******************************************************************************/