59#if !defined (STM32F205xx) && !defined (STM32F215xx) && !defined (STM32F207xx) && !defined (STM32F217xx)
74#if !defined (USE_HAL_DRIVER)
86#define __STM32F2xx_CMSIS_VERSION_MAIN (0x02U)
87#define __STM32F2xx_CMSIS_VERSION_SUB1 (0x02U)
88#define __STM32F2xx_CMSIS_VERSION_SUB2 (0x05U)
89#define __STM32F2xx_CMSIS_VERSION_RC (0x00U)
90#define __STM32F2xx_CMSIS_VERSION ((__STM32F2xx_CMSIS_VERSION_MAIN << 24)\
91 |(__STM32F2xx_CMSIS_VERSION_SUB1 << 16)\
92 |(__STM32F2xx_CMSIS_VERSION_SUB2 << 8 )\
93 |(__STM32F2xx_CMSIS_VERSION))
103#if defined(STM32F205xx)
104 #include "stm32f205xx.h"
105#elif defined(STM32F215xx)
106 #include "stm32f215xx.h"
107#elif defined(STM32F207xx)
109#elif defined(STM32F217xx)
112 #error "Please select first the target STM32F2xx device used in your application (in stm32f2xx.h file)"
126} FlagStatus, ITStatus;
133#define IS_FUNCTIONAL_STATE(STATE) (((STATE) == DISABLE) || ((STATE) == ENABLE))
149#define SET_BIT(REG, BIT) ((REG) |= (BIT))
151#define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT))
153#define READ_BIT(REG, BIT) ((REG) & (BIT))
155#define CLEAR_REG(REG) ((REG) = (0x0))
157#define WRITE_REG(REG, VAL) ((REG) = (VAL))
159#define READ_REG(REG) ((REG))
161#define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) | (SETMASK)))
163#define POSITION_VAL(VAL) (__CLZ(__RBIT(VAL)))
170#if defined (USE_HAL_DRIVER)
CMSIS STM32F207xx Device Peripheral Access Layer Header File.
CMSIS STM32F217xx Device Peripheral Access Layer Header File.
This file contains all the functions prototypes for the HAL module driver.