STM32L486xx HAL User Manual
Defines
TIM Private Constants
TIM

Defines

#define TIM_POSITION_BRK_SOURCE   (POSITION_VAL(Source) & 0x1FU)
#define TIMx_OR2_BKINE   TIM1_OR2_BKINE
#define TIMx_OR2_BKCOMP1E   TIM1_OR2_BKCMP1E
#define TIMx_OR2_BKCOMP2E   TIM1_OR2_BKCMP2E
#define TIMx_OR2_BKDF1BK0E   TIM1_OR2_BKDF1BK0E
#define TIMx_OR2_BKINP   TIM1_OR2_BKINP
#define TIMx_OR2_BKCOMP1P   TIM1_OR2_BKCMP1P
#define TIMx_OR2_BKCOMP2P   TIM1_OR2_BKCMP2P
#define TIMx_OR2_ETRSEL   TIM1_OR2_ETRSEL
#define TIMx_OR3_BK2INE   TIM1_OR3_BK2INE
#define TIMx_OR3_BK2COMP1E   TIM1_OR3_BK2CMP1E
#define TIMx_OR3_BK2COMP2E   TIM1_OR3_BK2CMP2E
#define TIMx_OR3_BK2DF1BK1E   TIM1_OR3_BK2DF1BK1E
#define TIMx_OR3_BK2INP   TIM1_OR3_BK2INP
#define TIMx_OR3_BK2COMP1P   TIM1_OR3_BK2CMP1P
#define TIMx_OR3_BK2COMP2P   TIM1_OR3_BK2CMP2P
#define TIMx_OR1_RMP_SHIFT   16U
#define TIMx_OR1_RMP_MASK   0x0000FFFFU
#define TIM1_OR1_RMP_MASK   ((TIM1_OR1_ETR_ADC1_RMP | TIM1_OR1_ETR_ADC3_RMP | TIM1_OR1_TI1_RMP) << TIMx_OR1_RMP_SHIFT)
#define TIM2_OR1_RMP_MASK   ((TIM2_OR1_TI4_RMP | TIM2_OR1_ETR1_RMP | TIM2_OR1_ITR1_RMP) << TIMx_OR1_RMP_SHIFT)
#define TIM3_OR1_RMP_MASK   (TIM3_OR1_TI1_RMP << TIMx_OR1_RMP_SHIFT)
#define TIM8_OR1_RMP_MASK   ((TIM8_OR1_ETR_ADC2_RMP | TIM8_OR1_ETR_ADC3_RMP | TIM8_OR1_TI1_RMP) << TIMx_OR1_RMP_SHIFT)
#define TIM15_OR1_RMP_MASK   (TIM15_OR1_TI1_RMP << TIMx_OR1_RMP_SHIFT)
#define TIM16_OR1_RMP_MASK   (TIM16_OR1_TI1_RMP << TIMx_OR1_RMP_SHIFT)
#define TIM17_OR1_RMP_MASK   (TIM17_OR1_TI1_RMP << TIMx_OR1_RMP_SHIFT)
#define DT_DELAY_1   ((uint8_t)0x7F)
#define DT_DELAY_2   ((uint8_t)0x3F)
#define DT_DELAY_3   ((uint8_t)0x1F)
#define DT_DELAY_4   ((uint8_t)0x1F)
#define DT_RANGE_1   ((uint8_t)0x00)
#define DT_RANGE_2   ((uint8_t)0x80)
#define DT_RANGE_3   ((uint8_t)0xC0)
#define DT_RANGE_4   ((uint8_t)0xE0)

Define Documentation

#define DT_DELAY_1   ((uint8_t)0x7F)

Definition at line 181 of file stm32l4xx_ll_tim.h.

#define DT_DELAY_2   ((uint8_t)0x3F)

Definition at line 182 of file stm32l4xx_ll_tim.h.

#define DT_DELAY_3   ((uint8_t)0x1F)

Definition at line 183 of file stm32l4xx_ll_tim.h.

#define DT_DELAY_4   ((uint8_t)0x1F)

Definition at line 184 of file stm32l4xx_ll_tim.h.

#define DT_RANGE_1   ((uint8_t)0x00)

Definition at line 187 of file stm32l4xx_ll_tim.h.

#define DT_RANGE_2   ((uint8_t)0x80)

Definition at line 188 of file stm32l4xx_ll_tim.h.

#define DT_RANGE_3   ((uint8_t)0xC0)

Definition at line 189 of file stm32l4xx_ll_tim.h.

#define DT_RANGE_4   ((uint8_t)0xE0)

Definition at line 190 of file stm32l4xx_ll_tim.h.

#define TIM15_OR1_RMP_MASK   (TIM15_OR1_TI1_RMP << TIMx_OR1_RMP_SHIFT)

Definition at line 176 of file stm32l4xx_ll_tim.h.

#define TIM16_OR1_RMP_MASK   (TIM16_OR1_TI1_RMP << TIMx_OR1_RMP_SHIFT)

Definition at line 177 of file stm32l4xx_ll_tim.h.

#define TIM17_OR1_RMP_MASK   (TIM17_OR1_TI1_RMP << TIMx_OR1_RMP_SHIFT)

Definition at line 178 of file stm32l4xx_ll_tim.h.

#define TIM1_OR1_RMP_MASK   ((TIM1_OR1_ETR_ADC1_RMP | TIM1_OR1_ETR_ADC3_RMP | TIM1_OR1_TI1_RMP) << TIMx_OR1_RMP_SHIFT)

Definition at line 165 of file stm32l4xx_ll_tim.h.

#define TIM2_OR1_RMP_MASK   ((TIM2_OR1_TI4_RMP | TIM2_OR1_ETR1_RMP | TIM2_OR1_ITR1_RMP) << TIMx_OR1_RMP_SHIFT)

Definition at line 169 of file stm32l4xx_ll_tim.h.

#define TIM3_OR1_RMP_MASK   (TIM3_OR1_TI1_RMP << TIMx_OR1_RMP_SHIFT)

Definition at line 170 of file stm32l4xx_ll_tim.h.

#define TIM8_OR1_RMP_MASK   ((TIM8_OR1_ETR_ADC2_RMP | TIM8_OR1_ETR_ADC3_RMP | TIM8_OR1_TI1_RMP) << TIMx_OR1_RMP_SHIFT)

Definition at line 172 of file stm32l4xx_ll_tim.h.

#define TIM_POSITION_BRK_SOURCE   (POSITION_VAL(Source) & 0x1FU)

Definition at line 136 of file stm32l4xx_ll_tim.h.

Referenced by LL_TIM_SetBreakInputSourcePolarity().

#define TIMx_OR1_RMP_MASK   0x0000FFFFU

Definition at line 163 of file stm32l4xx_ll_tim.h.

Referenced by LL_TIM_SetRemap().

#define TIMx_OR1_RMP_SHIFT   16U

Definition at line 162 of file stm32l4xx_ll_tim.h.

Referenced by LL_TIM_SetRemap().

#define TIMx_OR2_BKCOMP1E   TIM1_OR2_BKCMP1E

BRK COMP1 enable

Definition at line 140 of file stm32l4xx_ll_tim.h.

#define TIMx_OR2_BKCOMP1P   TIM1_OR2_BKCMP1P

BRK COMP1 input polarity

Definition at line 146 of file stm32l4xx_ll_tim.h.

#define TIMx_OR2_BKCOMP2E   TIM1_OR2_BKCMP2E

BRK COMP2 enable

Definition at line 141 of file stm32l4xx_ll_tim.h.

#define TIMx_OR2_BKCOMP2P   TIM1_OR2_BKCMP2P

BRK COMP2 input polarity

Definition at line 147 of file stm32l4xx_ll_tim.h.

#define TIMx_OR2_BKDF1BK0E   TIM1_OR2_BKDF1BK0E

BRK DFSDM1_BREAK[0] enable

Definition at line 143 of file stm32l4xx_ll_tim.h.

#define TIMx_OR2_BKINE   TIM1_OR2_BKINE

BRK BKIN input enable

Definition at line 139 of file stm32l4xx_ll_tim.h.

#define TIMx_OR2_BKINP   TIM1_OR2_BKINP

BRK BKIN input polarity

Definition at line 145 of file stm32l4xx_ll_tim.h.

Referenced by LL_TIM_SetBreakInputSourcePolarity().

#define TIMx_OR2_ETRSEL   TIM1_OR2_ETRSEL

TIMx ETR source selection

Definition at line 148 of file stm32l4xx_ll_tim.h.

Referenced by LL_TIM_SetETRSource().

#define TIMx_OR3_BK2COMP1E   TIM1_OR3_BK2CMP1E

BRK2 COMP1 enable

Definition at line 152 of file stm32l4xx_ll_tim.h.

#define TIMx_OR3_BK2COMP1P   TIM1_OR3_BK2CMP1P

BRK2 COMP1 input polarity

Definition at line 158 of file stm32l4xx_ll_tim.h.

#define TIMx_OR3_BK2COMP2E   TIM1_OR3_BK2CMP2E

BRK2 COMP2 enable

Definition at line 153 of file stm32l4xx_ll_tim.h.

#define TIMx_OR3_BK2COMP2P   TIM1_OR3_BK2CMP2P

BRK2 COMP2 input polarity

Definition at line 159 of file stm32l4xx_ll_tim.h.

#define TIMx_OR3_BK2DF1BK1E   TIM1_OR3_BK2DF1BK1E

BRK2 DFSDM1_BREAK[1] enable

Definition at line 155 of file stm32l4xx_ll_tim.h.

#define TIMx_OR3_BK2INE   TIM1_OR3_BK2INE

BRK2 BKIN2 input enable

Definition at line 151 of file stm32l4xx_ll_tim.h.

#define TIMx_OR3_BK2INP   TIM1_OR3_BK2INP

BRK2 BKIN2 input polarity

Definition at line 157 of file stm32l4xx_ll_tim.h.