STM32L486xx HAL User Manual
Defines
TIM Extended Remapping
TIM Extended Exported Constants

Defines

#define TIM_TIM1_ETR_ADC1_NONE   0x00000000U /* !< TIM1_ETR is not connected to any AWD (analog watchdog)*/
#define TIM_TIM1_ETR_ADC1_AWD1   TIM1_OR1_ETR_ADC1_RMP_0 /* !< TIM1_ETR is connected to ADC1 AWD1 */
#define TIM_TIM1_ETR_ADC1_AWD2   TIM1_OR1_ETR_ADC1_RMP_1 /* !< TIM1_ETR is connected to ADC1 AWD2 */
#define TIM_TIM1_ETR_ADC1_AWD3   (TIM1_OR1_ETR_ADC1_RMP_1 | TIM1_OR1_ETR_ADC1_RMP_0) /* !< TIM1_ETR is connected to ADC1 AWD3 */
#define TIM_TIM1_ETR_ADC3_NONE   0x00000000U /* !< TIM1_ETR is not connected to any AWD (analog watchdog)*/
#define TIM_TIM1_ETR_ADC3_AWD1   TIM1_OR1_ETR_ADC3_RMP_0 /* !< TIM1_ETR is connected to ADC3 AWD1 */
#define TIM_TIM1_ETR_ADC3_AWD2   TIM1_OR1_ETR_ADC3_RMP_1 /* !< TIM1_ETR is connected to ADC3 AWD2 */
#define TIM_TIM1_ETR_ADC3_AWD3   (TIM1_OR1_ETR_ADC3_RMP_1 | TIM1_OR1_ETR_ADC3_RMP_0) /* !< TIM1_ETR is connected to ADC3 AWD3 */
#define TIM_TIM1_TI1_GPIO   0x00000000U /* !< TIM1 TI1 is connected to GPIO */
#define TIM_TIM1_TI1_COMP1   TIM1_OR1_TI1_RMP /* !< TIM1 TI1 is connected to COMP1 */
#define TIM_TIM1_ETR_GPIO   0x00000000U /* !< TIM1_ETR is connected to GPIO */
#define TIM_TIM1_ETR_COMP1   TIM1_OR2_ETRSEL_0 /* !< TIM1_ETR is connected to COMP1 output */
#define TIM_TIM1_ETR_COMP2   TIM1_OR2_ETRSEL_1 /* !< TIM1_ETR is connected to COMP2 output */
#define TIM_TIM2_ITR1_TIM8_TRGO   0x00000000U /* !< TIM2_ITR1 is connected to TIM8_TRGO */
#define TIM_TIM2_ITR1_OTG_FS_SOF   TIM2_OR1_ITR1_RMP /* !< TIM2_ITR1 is connected to OTG_FS SOF */
#define TIM_TIM2_ETR_GPIO   0x00000000U /* !< TIM2_ETR is connected to GPIO */
#define TIM_TIM2_ETR_LSE   TIM2_OR1_ETR1_RMP /* !< TIM2_ETR is connected to LSE */
#define TIM_TIM2_ETR_COMP1   TIM2_OR2_ETRSEL_0 /* !< TIM2_ETR is connected to COMP1 output */
#define TIM_TIM2_ETR_COMP2   TIM2_OR2_ETRSEL_1 /* !< TIM2_ETR is connected to COMP2 output */
#define TIM_TIM2_TI4_GPIO   0x00000000U /* !< TIM2 TI4 is connected to GPIO */
#define TIM_TIM2_TI4_COMP1   TIM2_OR1_TI4_RMP_0 /* !< TIM2 TI4 is connected to COMP1 output */
#define TIM_TIM2_TI4_COMP2   TIM2_OR1_TI4_RMP_1 /* !< TIM2 TI4 is connected to COMP2 output */
#define TIM_TIM2_TI4_COMP1_COMP2   (TIM2_OR1_TI4_RMP_1| TIM2_OR1_TI4_RMP_0) /* !< TIM2 TI4 is connected to logical OR between COMP1 and COMP2 output2 */
#define TIM_TIM3_TI1_GPIO   0x00000000U /* !< TIM3 TI1 is connected to GPIO */
#define TIM_TIM3_TI1_COMP1   TIM3_OR1_TI1_RMP_0 /* !< TIM3 TI1 is connected to COMP1 output */
#define TIM_TIM3_TI1_COMP2   TIM3_OR1_TI1_RMP_1 /* !< TIM3 TI1 is connected to COMP2 output */
#define TIM_TIM3_TI1_COMP1_COMP2   (TIM3_OR1_TI1_RMP_1 | TIM3_OR1_TI1_RMP_0) /* !< TIM3 TI1 is connected to logical OR between COMP1 and COMP2 output2 */
#define TIM_TIM3_ETR_GPIO   0x00000000U /* !< TIM3_ETR is connected to GPIO */
#define TIM_TIM3_ETR_COMP1   TIM3_OR2_ETRSEL_0 /* !< TIM3_ETR is connected to COMP1 output */
#define TIM_TIM8_ETR_ADC2_NONE   0x00000000U /* !< TIM8_ETR is not connected to any AWD (analog watchdog)*/
#define TIM_TIM8_ETR_ADC2_AWD1   TIM8_OR1_ETR_ADC2_RMP_0 /* !< TIM8_ETR is connected to ADC2 AWD1 */
#define TIM_TIM8_ETR_ADC2_AWD2   TIM8_OR1_ETR_ADC2_RMP_1 /* !< TIM8_ETR is connected to ADC2 AWD2 */
#define TIM_TIM8_ETR_ADC2_AWD3   (TIM8_OR1_ETR_ADC2_RMP_1 | TIM8_OR1_ETR_ADC2_RMP_0) /* !< TIM8_ETR is connected to ADC2 AWD3 */
#define TIM_TIM8_ETR_ADC3_NONE   0x00000000U /* !< TIM8_ETR is not connected to any AWD (analog watchdog)*/
#define TIM_TIM8_ETR_ADC3_AWD1   TIM8_OR1_ETR_ADC3_RMP_0 /* !< TIM8_ETR is connected to ADC3 AWD1 */
#define TIM_TIM8_ETR_ADC3_AWD2   TIM8_OR1_ETR_ADC3_RMP_1 /* !< TIM8_ETR is connected to ADC3 AWD2 */
#define TIM_TIM8_ETR_ADC3_AWD3   (TIM8_OR1_ETR_ADC3_RMP_1 | TIM8_OR1_ETR_ADC3_RMP_0) /* !< TIM8_ETR is connected to ADC3 AWD3 */
#define TIM_TIM8_TI1_GPIO   0x00000000U /* !< TIM8 TI1 is connected to GPIO */
#define TIM_TIM8_TI1_COMP2   TIM8_OR1_TI1_RMP /* !< TIM8 TI1 is connected to COMP1 */
#define TIM_TIM8_ETR_GPIO   0x00000000U /* !< TIM8_ETR is connected to GPIO */
#define TIM_TIM8_ETR_COMP1   TIM8_OR2_ETRSEL_0 /* !< TIM8_ETR is connected to COMP1 output */
#define TIM_TIM8_ETR_COMP2   TIM8_OR2_ETRSEL_1 /* !< TIM8_ETR is connected to COMP2 output */
#define TIM_TIM15_TI1_GPIO   0x00000000U /* !< TIM15 TI1 is connected to GPIO */
#define TIM_TIM15_TI1_LSE   TIM15_OR1_TI1_RMP /* !< TIM15 TI1 is connected to LSE */
#define TIM_TIM15_ENCODERMODE_NONE   0x00000000U /* !< No redirection */
#define TIM_TIM15_ENCODERMODE_TIM2   TIM15_OR1_ENCODER_MODE_0 /* !< TIM2 IC1 and TIM2 IC2 are connected to TIM15 IC1 and TIM15 IC2 respectively */
#define TIM_TIM15_ENCODERMODE_TIM3   TIM15_OR1_ENCODER_MODE_1 /* !< TIM3 IC1 and TIM3 IC2 are connected to TIM15 IC1 and TIM15 IC2 respectively */
#define TIM_TIM15_ENCODERMODE_TIM4   (TIM15_OR1_ENCODER_MODE_1 | TIM15_OR1_ENCODER_MODE_0) /* !< TIM4 IC1 and TIM4 IC2 are connected to TIM15 IC1 and TIM15 IC2 respectively */
#define TIM_TIM16_TI1_GPIO   0x00000000U /* !< TIM16 TI1 is connected to GPIO */
#define TIM_TIM16_TI1_LSI   TIM16_OR1_TI1_RMP_0 /* !< TIM16 TI1 is connected to LSI */
#define TIM_TIM16_TI1_LSE   TIM16_OR1_TI1_RMP_1 /* !< TIM16 TI1 is connected to LSE */
#define TIM_TIM16_TI1_RTC   (TIM16_OR1_TI1_RMP_1 | TIM16_OR1_TI1_RMP_0) /* !< TIM16 TI1 is connected to RTC wakeup interrupt */
#define TIM_TIM17_TI1_GPIO   0x00000000U /* !< TIM17 TI1 is connected to GPIO */
#define TIM_TIM17_TI1_MSI   TIM17_OR1_TI1_RMP_0 /* !< TIM17 TI1 is connected to MSI */
#define TIM_TIM17_TI1_HSE_32   TIM17_OR1_TI1_RMP_1 /* !< TIM17 TI1 is connected to HSE div 32 */
#define TIM_TIM17_TI1_MCO   (TIM17_OR1_TI1_RMP_1 | TIM17_OR1_TI1_RMP_0) /* !< TIM17 TI1 is connected to MCO */

Define Documentation

#define TIM_TIM15_ENCODERMODE_NONE   0x00000000U /* !< No redirection */

Definition at line 174 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM15_ENCODERMODE_TIM2   TIM15_OR1_ENCODER_MODE_0 /* !< TIM2 IC1 and TIM2 IC2 are connected to TIM15 IC1 and TIM15 IC2 respectively */

Definition at line 175 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM15_ENCODERMODE_TIM3   TIM15_OR1_ENCODER_MODE_1 /* !< TIM3 IC1 and TIM3 IC2 are connected to TIM15 IC1 and TIM15 IC2 respectively */

Definition at line 177 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM15_ENCODERMODE_TIM4   (TIM15_OR1_ENCODER_MODE_1 | TIM15_OR1_ENCODER_MODE_0) /* !< TIM4 IC1 and TIM4 IC2 are connected to TIM15 IC1 and TIM15 IC2 respectively */

Definition at line 180 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM15_TI1_GPIO   0x00000000U /* !< TIM15 TI1 is connected to GPIO */

Definition at line 172 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM15_TI1_LSE   TIM15_OR1_TI1_RMP /* !< TIM15 TI1 is connected to LSE */

Definition at line 173 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM16_TI1_GPIO   0x00000000U /* !< TIM16 TI1 is connected to GPIO */

Definition at line 183 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM16_TI1_LSE   TIM16_OR1_TI1_RMP_1 /* !< TIM16 TI1 is connected to LSE */

Definition at line 185 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM16_TI1_LSI   TIM16_OR1_TI1_RMP_0 /* !< TIM16 TI1 is connected to LSI */

Definition at line 184 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM16_TI1_RTC   (TIM16_OR1_TI1_RMP_1 | TIM16_OR1_TI1_RMP_0) /* !< TIM16 TI1 is connected to RTC wakeup interrupt */

Definition at line 186 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM17_TI1_GPIO   0x00000000U /* !< TIM17 TI1 is connected to GPIO */

Definition at line 194 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM17_TI1_HSE_32   TIM17_OR1_TI1_RMP_1 /* !< TIM17 TI1 is connected to HSE div 32 */

Definition at line 196 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM17_TI1_MCO   (TIM17_OR1_TI1_RMP_1 | TIM17_OR1_TI1_RMP_0) /* !< TIM17 TI1 is connected to MCO */

Definition at line 197 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM17_TI1_MSI   TIM17_OR1_TI1_RMP_0 /* !< TIM17 TI1 is connected to MSI */

Definition at line 195 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM1_ETR_ADC1_AWD1   TIM1_OR1_ETR_ADC1_RMP_0 /* !< TIM1_ETR is connected to ADC1 AWD1 */

Definition at line 108 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM1_ETR_ADC1_AWD2   TIM1_OR1_ETR_ADC1_RMP_1 /* !< TIM1_ETR is connected to ADC1 AWD2 */

Definition at line 109 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM1_ETR_ADC1_AWD3   (TIM1_OR1_ETR_ADC1_RMP_1 | TIM1_OR1_ETR_ADC1_RMP_0) /* !< TIM1_ETR is connected to ADC1 AWD3 */

Definition at line 110 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM1_ETR_ADC1_NONE   0x00000000U /* !< TIM1_ETR is not connected to any AWD (analog watchdog)*/

Definition at line 107 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM1_ETR_ADC3_AWD1   TIM1_OR1_ETR_ADC3_RMP_0 /* !< TIM1_ETR is connected to ADC3 AWD1 */

Definition at line 113 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM1_ETR_ADC3_AWD2   TIM1_OR1_ETR_ADC3_RMP_1 /* !< TIM1_ETR is connected to ADC3 AWD2 */

Definition at line 114 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM1_ETR_ADC3_AWD3   (TIM1_OR1_ETR_ADC3_RMP_1 | TIM1_OR1_ETR_ADC3_RMP_0) /* !< TIM1_ETR is connected to ADC3 AWD3 */

Definition at line 115 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM1_ETR_ADC3_NONE   0x00000000U /* !< TIM1_ETR is not connected to any AWD (analog watchdog)*/

Definition at line 112 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM1_ETR_COMP1   TIM1_OR2_ETRSEL_0 /* !< TIM1_ETR is connected to COMP1 output */

Definition at line 120 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM1_ETR_COMP2   TIM1_OR2_ETRSEL_1 /* !< TIM1_ETR is connected to COMP2 output */

Definition at line 121 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM1_ETR_GPIO   0x00000000U /* !< TIM1_ETR is connected to GPIO */

Definition at line 119 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM1_TI1_COMP1   TIM1_OR1_TI1_RMP /* !< TIM1 TI1 is connected to COMP1 */

Definition at line 118 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM1_TI1_GPIO   0x00000000U /* !< TIM1 TI1 is connected to GPIO */

Definition at line 117 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM2_ETR_COMP1   TIM2_OR2_ETRSEL_0 /* !< TIM2_ETR is connected to COMP1 output */

Definition at line 137 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM2_ETR_COMP2   TIM2_OR2_ETRSEL_1 /* !< TIM2_ETR is connected to COMP2 output */

Definition at line 138 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM2_ETR_GPIO   0x00000000U /* !< TIM2_ETR is connected to GPIO */

Definition at line 135 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM2_ETR_LSE   TIM2_OR1_ETR1_RMP /* !< TIM2_ETR is connected to LSE */

Definition at line 136 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM2_ITR1_OTG_FS_SOF   TIM2_OR1_ITR1_RMP /* !< TIM2_ITR1 is connected to OTG_FS SOF */

Definition at line 125 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM2_ITR1_TIM8_TRGO   0x00000000U /* !< TIM2_ITR1 is connected to TIM8_TRGO */

Definition at line 124 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM2_TI4_COMP1   TIM2_OR1_TI4_RMP_0 /* !< TIM2 TI4 is connected to COMP1 output */

Definition at line 140 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM2_TI4_COMP1_COMP2   (TIM2_OR1_TI4_RMP_1| TIM2_OR1_TI4_RMP_0) /* !< TIM2 TI4 is connected to logical OR between COMP1 and COMP2 output2 */

Definition at line 142 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM2_TI4_COMP2   TIM2_OR1_TI4_RMP_1 /* !< TIM2 TI4 is connected to COMP2 output */

Definition at line 141 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM2_TI4_GPIO   0x00000000U /* !< TIM2 TI4 is connected to GPIO */

Definition at line 139 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM3_ETR_COMP1   TIM3_OR2_ETRSEL_0 /* !< TIM3_ETR is connected to COMP1 output */

Definition at line 150 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM3_ETR_GPIO   0x00000000U /* !< TIM3_ETR is connected to GPIO */

Definition at line 149 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM3_TI1_COMP1   TIM3_OR1_TI1_RMP_0 /* !< TIM3 TI1 is connected to COMP1 output */

Definition at line 146 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM3_TI1_COMP1_COMP2   (TIM3_OR1_TI1_RMP_1 | TIM3_OR1_TI1_RMP_0) /* !< TIM3 TI1 is connected to logical OR between COMP1 and COMP2 output2 */

Definition at line 148 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM3_TI1_COMP2   TIM3_OR1_TI1_RMP_1 /* !< TIM3 TI1 is connected to COMP2 output */

Definition at line 147 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM3_TI1_GPIO   0x00000000U /* !< TIM3 TI1 is connected to GPIO */

Definition at line 145 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM8_ETR_ADC2_AWD1   TIM8_OR1_ETR_ADC2_RMP_0 /* !< TIM8_ETR is connected to ADC2 AWD1 */

Definition at line 156 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM8_ETR_ADC2_AWD2   TIM8_OR1_ETR_ADC2_RMP_1 /* !< TIM8_ETR is connected to ADC2 AWD2 */

Definition at line 157 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM8_ETR_ADC2_AWD3   (TIM8_OR1_ETR_ADC2_RMP_1 | TIM8_OR1_ETR_ADC2_RMP_0) /* !< TIM8_ETR is connected to ADC2 AWD3 */

Definition at line 158 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM8_ETR_ADC2_NONE   0x00000000U /* !< TIM8_ETR is not connected to any AWD (analog watchdog)*/

Definition at line 155 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM8_ETR_ADC3_AWD1   TIM8_OR1_ETR_ADC3_RMP_0 /* !< TIM8_ETR is connected to ADC3 AWD1 */

Definition at line 160 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM8_ETR_ADC3_AWD2   TIM8_OR1_ETR_ADC3_RMP_1 /* !< TIM8_ETR is connected to ADC3 AWD2 */

Definition at line 161 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM8_ETR_ADC3_AWD3   (TIM8_OR1_ETR_ADC3_RMP_1 | TIM8_OR1_ETR_ADC3_RMP_0) /* !< TIM8_ETR is connected to ADC3 AWD3 */

Definition at line 162 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM8_ETR_ADC3_NONE   0x00000000U /* !< TIM8_ETR is not connected to any AWD (analog watchdog)*/

Definition at line 159 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM8_ETR_COMP1   TIM8_OR2_ETRSEL_0 /* !< TIM8_ETR is connected to COMP1 output */

Definition at line 168 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM8_ETR_COMP2   TIM8_OR2_ETRSEL_1 /* !< TIM8_ETR is connected to COMP2 output */

Definition at line 169 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM8_ETR_GPIO   0x00000000U /* !< TIM8_ETR is connected to GPIO */

Definition at line 167 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM8_TI1_COMP2   TIM8_OR1_TI1_RMP /* !< TIM8 TI1 is connected to COMP1 */

Definition at line 166 of file stm32l4xx_hal_tim_ex.h.

#define TIM_TIM8_TI1_GPIO   0x00000000U /* !< TIM8 TI1 is connected to GPIO */

Definition at line 165 of file stm32l4xx_hal_tim_ex.h.