From aceee9b89a9a012321ef68357e7ddd94684b14b3 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期三, 16 八月 2023 11:11:17 +0800 Subject: [PATCH] 文件重新排版 --- Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l021xx.h | 14 ++++---------- 1 files changed, 4 insertions(+), 10 deletions(-) diff --git a/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l021xx.h b/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l021xx.h index ff12ac3..a3b41e8 100644 --- a/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l021xx.h +++ b/Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l021xx.h @@ -3209,7 +3209,10 @@ /* Reset and Clock Control */ /* */ /******************************************************************************/ - +/* +* @brief Specific device feature definitions (not present on all devices in the STM32L0 family) +*/ +/* Note: No specific macro feature on this device */ /******************** Bit definition for RCC_CR register ********************/ #define RCC_CR_HSION_Pos (0U) @@ -4908,13 +4911,7 @@ /* * @brief Specific device feature definitions (not present on all devices in the STM32L0 family) */ -#if defined (STM32L071xx) || defined (STM32L072xx) || defined (STM32L073xx) \ - || defined (STM32L081xx) || defined (STM32L082xx) || defined (STM32L083xx) -#define TIM_TIM2_REMAP_HSI_SUPPORT /*!<Support remap HSI on TIM2 */ -#define TIM_TIM2_REMAP_HSI48_SUPPORT /*!<Support remap HSI48 on TIM2 */ -#else #define TIM_TIM2_REMAP_HSI_SUPPORT /*!<Support remap HSI on TIM2 */ -#endif /******************* Bit definition for TIM_CR1 register ********************/ #define TIM_CR1_CEN_Pos (0U) @@ -5984,9 +5981,6 @@ /****************** TIM Instances : remapping capability **********************/ #define IS_TIM_REMAP_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ ((INSTANCE) == TIM21)) - -/****************** TIM Instances : supporting synchronization ****************/ -#define IS_TIM_SYNCHRO_INSTANCE(INSTANCE) IS_TIM_MASTER_INSTANCE(INSTANCE) /******************* TIM Instances : output(s) OCXEC register *****************/ #define IS_TIM_OCXREF_CLEAR_INSTANCE(INSTANCE) ((INSTANCE) == TIM2) -- Gitblit v1.9.3