7
7
* This file contains:
8
8
* - Data structures and the address mapping for all peripherals
9
9
* - Peripheral's registers declarations and bits definition
10
- * - Macros to access peripheral� s registers hardware
10
+ * - Macros to access peripheral s registers hardware
11
11
*
12
12
******************************************************************************
13
13
* @attention
@@ -13021,10 +13021,6 @@ typedef struct
13021
13021
((INSTANCE) == TIM8))
13022
13022
13023
13023
/****************** TIM Instances : supporting Hall interface *****************/
13024
- #define IS_TIM_HALL_INTERFACE_INSTANCE(INSTANCE)\
13025
- (((INSTANCE) == TIM1) || \
13026
- ((INSTANCE) == TIM8))
13027
-
13028
13024
#define IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(INSTANCE)\
13029
13025
(((INSTANCE) == TIM1) || \
13030
13026
((INSTANCE) == TIM8))
@@ -13066,15 +13062,7 @@ typedef struct
13066
13062
((INSTANCE) == TIM15))
13067
13063
13068
13064
/****************** TIM Instances : supporting synchronization ****************/
13069
- #define IS_TIM_SYNCHRO_INSTANCE(INSTANCE)\
13070
- (((INSTANCE) == TIM1) || \
13071
- ((INSTANCE) == TIM2) || \
13072
- ((INSTANCE) == TIM3) || \
13073
- ((INSTANCE) == TIM4) || \
13074
- ((INSTANCE) == TIM6) || \
13075
- ((INSTANCE) == TIM7) || \
13076
- ((INSTANCE) == TIM8) || \
13077
- ((INSTANCE) == TIM15))
13065
+ #define IS_TIM_SYNCHRO_INSTANCE(INSTANCE) IS_TIM_MASTER_INSTANCE(INSTANCE)
13078
13066
13079
13067
/****************** TIM Instances : supporting 32 bits counter ****************/
13080
13068
#define IS_TIM_32B_COUNTER_INSTANCE(INSTANCE)\
@@ -13339,9 +13327,9 @@ typedef struct
13339
13327
/* Aliases for __IRQn */
13340
13328
#define ADC1_IRQn ADC1_2_IRQn
13341
13329
#define SDADC1_IRQn ADC4_IRQn
13342
- #define COMP1_2_IRQn COMP1_2_3_IRQn
13343
- #define COMP2_IRQn COMP1_2_3_IRQn
13344
13330
#define COMP_IRQn COMP1_2_3_IRQn
13331
+ #define COMP2_IRQn COMP1_2_3_IRQn
13332
+ #define COMP1_2_IRQn COMP1_2_3_IRQn
13345
13333
#define COMP4_6_IRQn COMP4_5_6_IRQn
13346
13334
#define TIM15_IRQn TIM1_BRK_TIM15_IRQn
13347
13335
#define TIM18_DAC2_IRQn TIM1_CC_IRQn
@@ -13361,9 +13349,9 @@ typedef struct
13361
13349
/* Aliases for __IRQHandler */
13362
13350
#define ADC1_IRQHandler ADC1_2_IRQHandler
13363
13351
#define SDADC1_IRQHandler ADC4_IRQHandler
13364
- #define COMP1_2_IRQHandler COMP1_2_3_IRQHandler
13365
- #define COMP2_IRQHandler COMP1_2_3_IRQHandler
13366
13352
#define COMP_IRQHandler COMP1_2_3_IRQHandler
13353
+ #define COMP2_IRQHandler COMP1_2_3_IRQHandler
13354
+ #define COMP1_2_IRQHandler COMP1_2_3_IRQHandler
13367
13355
#define COMP4_6_IRQHandler COMP4_5_6_IRQHandler
13368
13356
#define TIM15_IRQHandler TIM1_BRK_TIM15_IRQHandler
13369
13357
#define TIM18_DAC2_IRQHandler TIM1_CC_IRQHandler
0 commit comments