mbed(SerialHalfDuplex入り)
Fork of mbed by
TARGET_NUCLEO_F302R8/stm32f3xx_hal_conf.h@98:01a414ca7d6d, 2015-04-08 (annotated)
- Committer:
- yusuke_kyo
- Date:
- Wed Apr 08 08:04:18 2015 +0000
- Revision:
- 98:01a414ca7d6d
- Parent:
- 90:cb3d968589d8
remove SerialHalfDuplex.h
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 90:cb3d968589d8 | 1 | /** |
Kojto | 90:cb3d968589d8 | 2 | ****************************************************************************** |
Kojto | 90:cb3d968589d8 | 3 | * @file stm32f3xx_hal_conf.h |
Kojto | 90:cb3d968589d8 | 4 | * @author MCD Application Team |
Kojto | 90:cb3d968589d8 | 5 | * @version V1.1.0 |
Kojto | 90:cb3d968589d8 | 6 | * @date 12-Sept-2014 |
Kojto | 90:cb3d968589d8 | 7 | * @brief HAL configuration file. |
Kojto | 90:cb3d968589d8 | 8 | ****************************************************************************** |
Kojto | 90:cb3d968589d8 | 9 | * @attention |
Kojto | 90:cb3d968589d8 | 10 | * |
Kojto | 90:cb3d968589d8 | 11 | * <h2><center>© COPYRIGHT(c) 2014 STMicroelectronics</center></h2> |
Kojto | 90:cb3d968589d8 | 12 | * |
Kojto | 90:cb3d968589d8 | 13 | * Redistribution and use in source and binary forms, with or without modification, |
Kojto | 90:cb3d968589d8 | 14 | * are permitted provided that the following conditions are met: |
Kojto | 90:cb3d968589d8 | 15 | * 1. Redistributions of source code must retain the above copyright notice, |
Kojto | 90:cb3d968589d8 | 16 | * this list of conditions and the following disclaimer. |
Kojto | 90:cb3d968589d8 | 17 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
Kojto | 90:cb3d968589d8 | 18 | * this list of conditions and the following disclaimer in the documentation |
Kojto | 90:cb3d968589d8 | 19 | * and/or other materials provided with the distribution. |
Kojto | 90:cb3d968589d8 | 20 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
Kojto | 90:cb3d968589d8 | 21 | * may be used to endorse or promote products derived from this software |
Kojto | 90:cb3d968589d8 | 22 | * without specific prior written permission. |
Kojto | 90:cb3d968589d8 | 23 | * |
Kojto | 90:cb3d968589d8 | 24 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
Kojto | 90:cb3d968589d8 | 25 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
Kojto | 90:cb3d968589d8 | 26 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
Kojto | 90:cb3d968589d8 | 27 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
Kojto | 90:cb3d968589d8 | 28 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
Kojto | 90:cb3d968589d8 | 29 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
Kojto | 90:cb3d968589d8 | 30 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
Kojto | 90:cb3d968589d8 | 31 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
Kojto | 90:cb3d968589d8 | 32 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
Kojto | 90:cb3d968589d8 | 33 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Kojto | 90:cb3d968589d8 | 34 | * |
Kojto | 90:cb3d968589d8 | 35 | ****************************************************************************** |
Kojto | 90:cb3d968589d8 | 36 | */ |
Kojto | 90:cb3d968589d8 | 37 | |
Kojto | 90:cb3d968589d8 | 38 | /* Define to prevent recursive inclusion -------------------------------------*/ |
Kojto | 90:cb3d968589d8 | 39 | #ifndef __STM32F3xx_HAL_CONF_H |
Kojto | 90:cb3d968589d8 | 40 | #define __STM32F3xx_HAL_CONF_H |
Kojto | 90:cb3d968589d8 | 41 | |
Kojto | 90:cb3d968589d8 | 42 | #ifdef __cplusplus |
Kojto | 90:cb3d968589d8 | 43 | extern "C" { |
Kojto | 90:cb3d968589d8 | 44 | #endif |
Kojto | 90:cb3d968589d8 | 45 | |
Kojto | 90:cb3d968589d8 | 46 | /* Exported types ------------------------------------------------------------*/ |
Kojto | 90:cb3d968589d8 | 47 | /* Exported constants --------------------------------------------------------*/ |
Kojto | 90:cb3d968589d8 | 48 | |
Kojto | 90:cb3d968589d8 | 49 | /* ########################## Module Selection ############################## */ |
Kojto | 90:cb3d968589d8 | 50 | /** |
Kojto | 90:cb3d968589d8 | 51 | * @brief This is the list of modules to be used in the HAL driver |
Kojto | 90:cb3d968589d8 | 52 | */ |
Kojto | 90:cb3d968589d8 | 53 | #define HAL_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 54 | #define HAL_ADC_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 55 | #define HAL_CAN_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 56 | #define HAL_CEC_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 57 | #define HAL_COMP_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 58 | #define HAL_CORTEX_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 59 | #define HAL_CRC_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 60 | #define HAL_DAC_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 61 | #define HAL_DMA_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 62 | #define HAL_FLASH_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 63 | #define HAL_SRAM_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 64 | #define HAL_NOR_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 65 | #define HAL_NAND_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 66 | #define HAL_PCCARD_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 67 | #define HAL_GPIO_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 68 | #define HAL_HRTIM_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 69 | #define HAL_I2C_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 70 | #define HAL_I2S_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 71 | #define HAL_IRDA_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 72 | #define HAL_IWDG_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 73 | #define HAL_OPAMP_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 74 | #define HAL_PCD_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 75 | #define HAL_PWR_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 76 | #define HAL_RCC_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 77 | #define HAL_RTC_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 78 | #define HAL_SDADC_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 79 | #define HAL_SMARTCARD_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 80 | #define HAL_SMBUS_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 81 | #define HAL_SPI_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 82 | #define HAL_TIM_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 83 | #define HAL_TSC_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 84 | #define HAL_UART_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 85 | #define HAL_USART_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 86 | #define HAL_WWDG_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 87 | |
Kojto | 90:cb3d968589d8 | 88 | /* ########################## HSE/HSI Values adaptation ##################### */ |
Kojto | 90:cb3d968589d8 | 89 | /** |
Kojto | 90:cb3d968589d8 | 90 | * @brief Adjust the value of External High Speed oscillator (HSE) used in your application. |
Kojto | 90:cb3d968589d8 | 91 | * This value is used by the RCC HAL module to compute the system frequency |
Kojto | 90:cb3d968589d8 | 92 | * (when HSE is used as system clock source, directly or through the PLL). |
Kojto | 90:cb3d968589d8 | 93 | */ |
Kojto | 90:cb3d968589d8 | 94 | #if !defined (HSE_VALUE) |
Kojto | 90:cb3d968589d8 | 95 | #define HSE_VALUE ((uint32_t)8000000) /*!< Value of the External oscillator in Hz */ |
Kojto | 90:cb3d968589d8 | 96 | #endif /* HSE_VALUE */ |
Kojto | 90:cb3d968589d8 | 97 | |
Kojto | 90:cb3d968589d8 | 98 | /** |
Kojto | 90:cb3d968589d8 | 99 | * @brief In the following line adjust the External High Speed oscillator (HSE) Startup |
Kojto | 90:cb3d968589d8 | 100 | * Timeout value |
Kojto | 90:cb3d968589d8 | 101 | */ |
Kojto | 90:cb3d968589d8 | 102 | #if !defined (HSE_STARTUP_TIMEOUT) |
Kojto | 90:cb3d968589d8 | 103 | #define HSE_STARTUP_TIMEOUT ((uint32_t)500) /*!< Time out for HSE start up, in ms */ |
Kojto | 90:cb3d968589d8 | 104 | #endif /* HSE_STARTUP_TIMEOUT */ |
Kojto | 90:cb3d968589d8 | 105 | |
Kojto | 90:cb3d968589d8 | 106 | /** |
Kojto | 90:cb3d968589d8 | 107 | * @brief Internal High Speed oscillator (HSI) value. |
Kojto | 90:cb3d968589d8 | 108 | * This value is used by the RCC HAL module to compute the system frequency |
Kojto | 90:cb3d968589d8 | 109 | * (when HSI is used as system clock source, directly or through the PLL). |
Kojto | 90:cb3d968589d8 | 110 | */ |
Kojto | 90:cb3d968589d8 | 111 | #if !defined (HSI_VALUE) |
Kojto | 90:cb3d968589d8 | 112 | #define HSI_VALUE ((uint32_t)8000000) /*!< Value of the Internal oscillator in Hz*/ |
Kojto | 90:cb3d968589d8 | 113 | #endif /* HSI_VALUE */ |
Kojto | 90:cb3d968589d8 | 114 | |
Kojto | 90:cb3d968589d8 | 115 | /** |
Kojto | 90:cb3d968589d8 | 116 | * @brief In the following line adjust the Internal High Speed oscillator (HSI) Startup |
Kojto | 90:cb3d968589d8 | 117 | * Timeout value |
Kojto | 90:cb3d968589d8 | 118 | */ |
Kojto | 90:cb3d968589d8 | 119 | #if !defined (HSI_STARTUP_TIMEOUT) |
Kojto | 90:cb3d968589d8 | 120 | #define HSI_STARTUP_TIMEOUT ((uint32_t)5000) /*!< Time out for HSI start up */ |
Kojto | 90:cb3d968589d8 | 121 | #endif /* HSI_STARTUP_TIMEOUT */ |
Kojto | 90:cb3d968589d8 | 122 | |
Kojto | 90:cb3d968589d8 | 123 | /** |
Kojto | 90:cb3d968589d8 | 124 | * @brief Internal Low Speed oscillator (LSI) value. |
Kojto | 90:cb3d968589d8 | 125 | */ |
Kojto | 90:cb3d968589d8 | 126 | #if !defined (LSI_VALUE) |
Kojto | 90:cb3d968589d8 | 127 | #define LSI_VALUE ((uint32_t)40000) |
Kojto | 90:cb3d968589d8 | 128 | #endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz |
Kojto | 90:cb3d968589d8 | 129 | The real value may vary depending on the variations |
Kojto | 90:cb3d968589d8 | 130 | in voltage and temperature. */ |
Kojto | 90:cb3d968589d8 | 131 | /** |
Kojto | 90:cb3d968589d8 | 132 | * @brief External Low Speed oscillator (LSE) value. |
Kojto | 90:cb3d968589d8 | 133 | */ |
Kojto | 90:cb3d968589d8 | 134 | #if !defined (LSE_VALUE) |
Kojto | 90:cb3d968589d8 | 135 | #define LSE_VALUE ((uint32_t)32768) /*!< Value of the External Low Speed oscillator in Hz */ |
Kojto | 90:cb3d968589d8 | 136 | #endif /* LSE_VALUE */ |
Kojto | 90:cb3d968589d8 | 137 | |
Kojto | 90:cb3d968589d8 | 138 | /** |
Kojto | 90:cb3d968589d8 | 139 | * @brief External clock source for I2S peripheral |
Kojto | 90:cb3d968589d8 | 140 | * This value is used by the I2S HAL module to compute the I2S clock source |
Kojto | 90:cb3d968589d8 | 141 | * frequency, this source is inserted directly through I2S_CKIN pad. |
Kojto | 90:cb3d968589d8 | 142 | * - External clock generated through external PLL component on EVAL 303 (based on MCO or crystal) |
Kojto | 90:cb3d968589d8 | 143 | * - External clock not generated on EVAL 373 |
Kojto | 90:cb3d968589d8 | 144 | */ |
Kojto | 90:cb3d968589d8 | 145 | #if !defined (EXTERNAL_CLOCK_VALUE) |
Kojto | 90:cb3d968589d8 | 146 | #define EXTERNAL_CLOCK_VALUE ((uint32_t)8000000) /*!< Value of the External oscillator in Hz*/ |
Kojto | 90:cb3d968589d8 | 147 | #endif /* EXTERNAL_CLOCK_VALUE */ |
Kojto | 90:cb3d968589d8 | 148 | |
Kojto | 90:cb3d968589d8 | 149 | /* Tip: To avoid modifying this file each time you need to use different HSE, |
Kojto | 90:cb3d968589d8 | 150 | === you can define the HSE value in your toolchain compiler preprocessor. */ |
Kojto | 90:cb3d968589d8 | 151 | |
Kojto | 90:cb3d968589d8 | 152 | /* ########################### System Configuration ######################### */ |
Kojto | 90:cb3d968589d8 | 153 | /** |
Kojto | 90:cb3d968589d8 | 154 | * @brief This is the HAL system configuration section |
Kojto | 90:cb3d968589d8 | 155 | */ |
Kojto | 90:cb3d968589d8 | 156 | #define VDD_VALUE ((uint32_t)3300) /*!< Value of VDD in mv */ |
Kojto | 90:cb3d968589d8 | 157 | #define TICK_INT_PRIORITY ((uint32_t)(1<<__NVIC_PRIO_BITS) - 1) /*!< tick interrupt priority (lowest by default) */ |
Kojto | 90:cb3d968589d8 | 158 | #define USE_RTOS 0 |
Kojto | 90:cb3d968589d8 | 159 | #define PREFETCH_ENABLE 1 |
Kojto | 90:cb3d968589d8 | 160 | #define INSTRUCTION_CACHE_ENABLE 0 |
Kojto | 90:cb3d968589d8 | 161 | #define DATA_CACHE_ENABLE 0 |
Kojto | 90:cb3d968589d8 | 162 | |
Kojto | 90:cb3d968589d8 | 163 | /* ########################## Assert Selection ############################## */ |
Kojto | 90:cb3d968589d8 | 164 | /** |
Kojto | 90:cb3d968589d8 | 165 | * @brief Uncomment the line below to expanse the "assert_param" macro in the |
Kojto | 90:cb3d968589d8 | 166 | * HAL drivers code |
Kojto | 90:cb3d968589d8 | 167 | */ |
Kojto | 90:cb3d968589d8 | 168 | /*#define USE_FULL_ASSERT 1*/ |
Kojto | 90:cb3d968589d8 | 169 | |
Kojto | 90:cb3d968589d8 | 170 | /* Includes ------------------------------------------------------------------*/ |
Kojto | 90:cb3d968589d8 | 171 | /** |
Kojto | 90:cb3d968589d8 | 172 | * @brief Include module's header file |
Kojto | 90:cb3d968589d8 | 173 | */ |
Kojto | 90:cb3d968589d8 | 174 | |
Kojto | 90:cb3d968589d8 | 175 | #ifdef HAL_RCC_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 176 | #include "stm32f3xx_hal_rcc.h" |
Kojto | 90:cb3d968589d8 | 177 | #endif /* HAL_RCC_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 178 | |
Kojto | 90:cb3d968589d8 | 179 | #ifdef HAL_GPIO_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 180 | #include "stm32f3xx_hal_gpio.h" |
Kojto | 90:cb3d968589d8 | 181 | #endif /* HAL_GPIO_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 182 | |
Kojto | 90:cb3d968589d8 | 183 | #ifdef HAL_DMA_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 184 | #include "stm32f3xx_hal_dma.h" |
Kojto | 90:cb3d968589d8 | 185 | #endif /* HAL_DMA_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 186 | |
Kojto | 90:cb3d968589d8 | 187 | #ifdef HAL_CORTEX_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 188 | #include "stm32f3xx_hal_cortex.h" |
Kojto | 90:cb3d968589d8 | 189 | #endif /* HAL_CORTEX_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 190 | |
Kojto | 90:cb3d968589d8 | 191 | #ifdef HAL_ADC_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 192 | #include "stm32f3xx_hal_adc.h" |
Kojto | 90:cb3d968589d8 | 193 | #endif /* HAL_ADC_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 194 | |
Kojto | 90:cb3d968589d8 | 195 | #ifdef HAL_CAN_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 196 | #include "stm32f3xx_hal_can.h" |
Kojto | 90:cb3d968589d8 | 197 | #endif /* HAL_CAN_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 198 | |
Kojto | 90:cb3d968589d8 | 199 | #ifdef HAL_CEC_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 200 | #include "stm32f3xx_hal_cec.h" |
Kojto | 90:cb3d968589d8 | 201 | #endif /* HAL_CEC_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 202 | |
Kojto | 90:cb3d968589d8 | 203 | #ifdef HAL_COMP_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 204 | #include "stm32f3xx_hal_comp.h" |
Kojto | 90:cb3d968589d8 | 205 | #endif /* HAL_COMP_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 206 | |
Kojto | 90:cb3d968589d8 | 207 | #ifdef HAL_CRC_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 208 | #include "stm32f3xx_hal_crc.h" |
Kojto | 90:cb3d968589d8 | 209 | #endif /* HAL_CRC_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 210 | |
Kojto | 90:cb3d968589d8 | 211 | #ifdef HAL_DAC_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 212 | #include "stm32f3xx_hal_dac.h" |
Kojto | 90:cb3d968589d8 | 213 | #endif /* HAL_DAC_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 214 | |
Kojto | 90:cb3d968589d8 | 215 | #ifdef HAL_FLASH_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 216 | #include "stm32f3xx_hal_flash.h" |
Kojto | 90:cb3d968589d8 | 217 | #endif /* HAL_FLASH_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 218 | |
Kojto | 90:cb3d968589d8 | 219 | #ifdef HAL_SRAM_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 220 | #include "stm32f3xx_hal_sram.h" |
Kojto | 90:cb3d968589d8 | 221 | #endif /* HAL_SRAM_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 222 | |
Kojto | 90:cb3d968589d8 | 223 | #ifdef HAL_NOR_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 224 | #include "stm32f3xx_hal_nor.h" |
Kojto | 90:cb3d968589d8 | 225 | #endif /* HAL_NOR_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 226 | |
Kojto | 90:cb3d968589d8 | 227 | #ifdef HAL_NAND_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 228 | #include "stm32f3xx_hal_nand.h" |
Kojto | 90:cb3d968589d8 | 229 | #endif /* HAL_NAND_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 230 | |
Kojto | 90:cb3d968589d8 | 231 | #ifdef HAL_PCCARD_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 232 | #include "stm32f3xx_hal_pccard.h" |
Kojto | 90:cb3d968589d8 | 233 | #endif /* HAL_PCCARD_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 234 | |
Kojto | 90:cb3d968589d8 | 235 | #ifdef HAL_HRTIM_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 236 | #include "stm32f3xx_hal_hrtim.h" |
Kojto | 90:cb3d968589d8 | 237 | #endif /* HAL_HRTIM_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 238 | |
Kojto | 90:cb3d968589d8 | 239 | #ifdef HAL_I2C_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 240 | #include "stm32f3xx_hal_i2c.h" |
Kojto | 90:cb3d968589d8 | 241 | #endif /* HAL_I2C_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 242 | |
Kojto | 90:cb3d968589d8 | 243 | #ifdef HAL_I2S_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 244 | #include "stm32f3xx_hal_i2s.h" |
Kojto | 90:cb3d968589d8 | 245 | #endif /* HAL_I2S_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 246 | |
Kojto | 90:cb3d968589d8 | 247 | #ifdef HAL_IRDA_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 248 | #include "stm32f3xx_hal_irda.h" |
Kojto | 90:cb3d968589d8 | 249 | #endif /* HAL_IRDA_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 250 | |
Kojto | 90:cb3d968589d8 | 251 | #ifdef HAL_IWDG_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 252 | #include "stm32f3xx_hal_iwdg.h" |
Kojto | 90:cb3d968589d8 | 253 | #endif /* HAL_IWDG_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 254 | |
Kojto | 90:cb3d968589d8 | 255 | #ifdef HAL_OPAMP_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 256 | #include "stm32f3xx_hal_opamp.h" |
Kojto | 90:cb3d968589d8 | 257 | #endif /* HAL_OPAMP_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 258 | |
Kojto | 90:cb3d968589d8 | 259 | #ifdef HAL_PCD_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 260 | #include "stm32f3xx_hal_pcd.h" |
Kojto | 90:cb3d968589d8 | 261 | #endif /* HAL_PCD_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 262 | |
Kojto | 90:cb3d968589d8 | 263 | #ifdef HAL_PWR_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 264 | #include "stm32f3xx_hal_pwr.h" |
Kojto | 90:cb3d968589d8 | 265 | #endif /* HAL_PWR_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 266 | |
Kojto | 90:cb3d968589d8 | 267 | #ifdef HAL_RTC_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 268 | #include "stm32f3xx_hal_rtc.h" |
Kojto | 90:cb3d968589d8 | 269 | #endif /* HAL_RTC_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 270 | |
Kojto | 90:cb3d968589d8 | 271 | #ifdef HAL_SDADC_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 272 | #include "stm32f3xx_hal_sdadc.h" |
Kojto | 90:cb3d968589d8 | 273 | #endif /* HAL_SDADC_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 274 | |
Kojto | 90:cb3d968589d8 | 275 | #ifdef HAL_SMARTCARD_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 276 | #include "stm32f3xx_hal_smartcard.h" |
Kojto | 90:cb3d968589d8 | 277 | #endif /* HAL_SMARTCARD_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 278 | |
Kojto | 90:cb3d968589d8 | 279 | #ifdef HAL_SMBUS_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 280 | #include "stm32f3xx_hal_smbus.h" |
Kojto | 90:cb3d968589d8 | 281 | #endif /* HAL_SMBUS_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 282 | |
Kojto | 90:cb3d968589d8 | 283 | #ifdef HAL_SPI_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 284 | #include "stm32f3xx_hal_spi.h" |
Kojto | 90:cb3d968589d8 | 285 | #endif /* HAL_SPI_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 286 | |
Kojto | 90:cb3d968589d8 | 287 | #ifdef HAL_TIM_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 288 | #include "stm32f3xx_hal_tim.h" |
Kojto | 90:cb3d968589d8 | 289 | #endif /* HAL_TIM_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 290 | |
Kojto | 90:cb3d968589d8 | 291 | #ifdef HAL_TSC_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 292 | #include "stm32f3xx_hal_tsc.h" |
Kojto | 90:cb3d968589d8 | 293 | #endif /* HAL_TSC_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 294 | |
Kojto | 90:cb3d968589d8 | 295 | #ifdef HAL_UART_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 296 | #include "stm32f3xx_hal_uart.h" |
Kojto | 90:cb3d968589d8 | 297 | #endif /* HAL_UART_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 298 | |
Kojto | 90:cb3d968589d8 | 299 | #ifdef HAL_USART_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 300 | #include "stm32f3xx_hal_usart.h" |
Kojto | 90:cb3d968589d8 | 301 | #endif /* HAL_USART_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 302 | |
Kojto | 90:cb3d968589d8 | 303 | #ifdef HAL_WWDG_MODULE_ENABLED |
Kojto | 90:cb3d968589d8 | 304 | #include "stm32f3xx_hal_wwdg.h" |
Kojto | 90:cb3d968589d8 | 305 | #endif /* HAL_WWDG_MODULE_ENABLED */ |
Kojto | 90:cb3d968589d8 | 306 | |
Kojto | 90:cb3d968589d8 | 307 | /* Exported macro ------------------------------------------------------------*/ |
Kojto | 90:cb3d968589d8 | 308 | #ifdef USE_FULL_ASSERT |
Kojto | 90:cb3d968589d8 | 309 | /** |
Kojto | 90:cb3d968589d8 | 310 | * @brief The assert_param macro is used for function's parameters check. |
Kojto | 90:cb3d968589d8 | 311 | * @param expr: If expr is false, it calls assert_failed function |
Kojto | 90:cb3d968589d8 | 312 | * which reports the name of the source file and the source |
Kojto | 90:cb3d968589d8 | 313 | * line number of the call that failed. |
Kojto | 90:cb3d968589d8 | 314 | * If expr is true, it returns no value. |
Kojto | 90:cb3d968589d8 | 315 | * @retval None |
Kojto | 90:cb3d968589d8 | 316 | */ |
Kojto | 90:cb3d968589d8 | 317 | #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__)) |
Kojto | 90:cb3d968589d8 | 318 | /* Exported functions ------------------------------------------------------- */ |
Kojto | 90:cb3d968589d8 | 319 | void assert_failed(uint8_t* file, uint32_t line); |
Kojto | 90:cb3d968589d8 | 320 | #else |
Kojto | 90:cb3d968589d8 | 321 | #define assert_param(expr) ((void)0) |
Kojto | 90:cb3d968589d8 | 322 | #endif /* USE_FULL_ASSERT */ |
Kojto | 90:cb3d968589d8 | 323 | |
Kojto | 90:cb3d968589d8 | 324 | #ifdef __cplusplus |
Kojto | 90:cb3d968589d8 | 325 | } |
Kojto | 90:cb3d968589d8 | 326 | #endif |
Kojto | 90:cb3d968589d8 | 327 | |
Kojto | 90:cb3d968589d8 | 328 | #endif /* __STM32F3xx_HAL_CONF_H */ |
Kojto | 90:cb3d968589d8 | 329 | |
Kojto | 90:cb3d968589d8 | 330 | |
Kojto | 90:cb3d968589d8 | 331 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |