diff --git a/cpu/stm32f0/include/vendor/stm32f0xx.h b/cpu/stm32f0/include/vendor/stm32f0xx.h index b3431fd2f823911784d847b344049212b3868fb6..a0b38e94e4690a91db87542464490308dc99f66e 100644 --- a/cpu/stm32f0/include/vendor/stm32f0xx.h +++ b/cpu/stm32f0/include/vendor/stm32f0xx.h @@ -165,32 +165,6 @@ #error "Please select first the target STM32F0xx device used in your application (in stm32f0xx.h file)" #endif -/** - * @} - */ - -/** @addtogroup Exported_types - * @{ - */ -typedef enum -{ - RESET = 0, - SET = !RESET -} FlagStatus, ITStatus; - -typedef enum -{ - DISABLE = 0, - ENABLE = !DISABLE -} FunctionalState; -#define IS_FUNCTIONAL_STATE(STATE) (((STATE) == DISABLE) || ((STATE) == ENABLE)) - -typedef enum -{ - ERROR = 0, - SUCCESS = !ERROR -} ErrorStatus; - /** * @} */ diff --git a/cpu/stm32f2/include/vendor/stm32f2xx.h b/cpu/stm32f2/include/vendor/stm32f2xx.h index ef30f1fc3a920b61f816dc6f6f34872d80ac2a63..32ba8baf4fea34b16e505ee328f741be64458ede 100644 --- a/cpu/stm32f2/include/vendor/stm32f2xx.h +++ b/cpu/stm32f2/include/vendor/stm32f2xx.h @@ -130,32 +130,6 @@ #error "Please select first the target STM32F2xx device used in your application (in stm32f2xx.h file)" #endif -/** - * @} - */ - -/** @addtogroup Exported_types - * @{ - */ -typedef enum -{ - RESET = 0, - SET = !RESET -} FlagStatus, ITStatus; - -typedef enum -{ - DISABLE = 0, - ENABLE = !DISABLE -} FunctionalState; -#define IS_FUNCTIONAL_STATE(STATE) (((STATE) == DISABLE) || ((STATE) == ENABLE)) - -typedef enum -{ - ERROR = 0, - SUCCESS = !ERROR -} ErrorStatus; - /** * @} */ diff --git a/cpu/stm32f3/include/vendor/stm32f3xx.h b/cpu/stm32f3/include/vendor/stm32f3xx.h index b77f97df5a66ddb474f0bd2e8449db01fa534d05..3e9ddf310d7f24f9c1e965274cb05fb29b67b86b 100644 --- a/cpu/stm32f3/include/vendor/stm32f3xx.h +++ b/cpu/stm32f3/include/vendor/stm32f3xx.h @@ -170,32 +170,6 @@ #error "Please select first the target STM32F3xx device used in your application (in stm32f3xx.h file)" #endif -/** - * @} - */ - -/** @addtogroup Exported_types - * @{ - */ -typedef enum -{ - RESET = 0, - SET = !RESET -} FlagStatus, ITStatus; - -typedef enum -{ - DISABLE = 0, - ENABLE = !DISABLE -} FunctionalState; -#define IS_FUNCTIONAL_STATE(STATE) (((STATE) == DISABLE) || ((STATE) == ENABLE)) - -typedef enum -{ - ERROR = 0, - SUCCESS = !ERROR -} ErrorStatus; - /** * @} */ diff --git a/cpu/stm32f4/include/vendor/stm32f4xx.h b/cpu/stm32f4/include/vendor/stm32f4xx.h index a704be72b9c2ae5c21a6daf279723c261b80aeac..ec6f3b4c1c6d6e63651b9dabd37adb5a5d7125ff 100644 --- a/cpu/stm32f4/include/vendor/stm32f4xx.h +++ b/cpu/stm32f4/include/vendor/stm32f4xx.h @@ -193,32 +193,6 @@ #error "Please select first the target STM32F4xx device used in your application (in stm32f4xx.h file)" #endif -/** - * @} - */ - -/** @addtogroup Exported_types - * @{ - */ -typedef enum -{ - RESET = 0U, - SET = !RESET -} FlagStatus, ITStatus; - -typedef enum -{ - DISABLE = 0U, - ENABLE = !DISABLE -} FunctionalState; -#define IS_FUNCTIONAL_STATE(STATE) (((STATE) == DISABLE) || ((STATE) == ENABLE)) - -typedef enum -{ - ERROR = 0U, - SUCCESS = !ERROR -} ErrorStatus; - /** * @} */ diff --git a/cpu/stm32f7/include/vendor/stm32f7xx.h b/cpu/stm32f7/include/vendor/stm32f7xx.h index 95a60116305cf806cca2ec75f130ec88ec905fde..d021677a060010dd7801c4f79c1c010db3bad481 100644 --- a/cpu/stm32f7/include/vendor/stm32f7xx.h +++ b/cpu/stm32f7/include/vendor/stm32f7xx.h @@ -160,31 +160,6 @@ * @} */ -/** @addtogroup Exported_types - * @{ - */ -typedef enum -{ - RESET = 0, - SET = !RESET -} FlagStatus, ITStatus; - -typedef enum -{ - DISABLE = 0, - ENABLE = !DISABLE -} FunctionalState; -#define IS_FUNCTIONAL_STATE(STATE) (((STATE) == DISABLE) || ((STATE) == ENABLE)) - -typedef enum -{ - ERROR = 0, - SUCCESS = !ERROR -} ErrorStatus; - -/** - * @} - */ /** @addtogroup Exported_macro * @{