STM32H735xx HAL User Manual
Modules | Defines
TIM Exported Constants
TIM

Modules

 Get Flags Defines
 

Flags defines which can be used with LL_TIM_ReadReg function.


 Break Enable
 Break2 Enable
 Automatic output enable
 IT Defines
 

IT defines which can be used with LL_TIM_ReadReg and LL_TIM_WriteReg functions.


 Update Source
 One Pulse Mode
 Counter Mode
 Clock Division
 Counter Direction
 Capture Compare Update Source
 Capture Compare DMA Request
 Lock Level
 Channel
 Output Configuration State
 Output Configuration Mode
 Output Configuration Polarity
 Output Configuration Idle State
 GROUPCH5
 Active Input Selection
 Input Configuration Prescaler
 Input Configuration Filter
 Input Configuration Polarity
 Clock Source
 Encoder Mode
 Trigger Output
 Trigger Output 2
 Slave Mode
 Trigger Selection
 External Trigger Polarity
 External Trigger Prescaler
 External Trigger Filter
 break polarity
 break filter
 BREAK2 POLARITY
 BREAK2 FILTER
 OSSI
 OSSR
 BREAK INPUT
 BKIN SOURCE
 BKIN POLARITY
 BREAK AF MODE
 BREAK2 AF MODE
 DMA Burst Base Address
 DMA Burst Length
 TIM1 Timer Input Ch1 Remap
 TIM8 Timer Input Ch1 Remap
 TIM2 Timer Input Ch4 Remap
 TIM3 Timer Input Ch1 Remap
 TIM5 Timer Input Ch1 Remap
 TIM12 Timer Input Ch1 Remap
 TIM15 Timer Input Ch1 Remap
 TIM15 Timer Input Ch2 Remap
 TIM16 Timer Input Ch1 Remap
 TIM17 Timer Input Ch1 Remap
 TIM23 Timer Input Ch4 Remap
 TIM24 Timer Input Ch1 Remap
 TIM Exported Macros
 TIM Exported Functions

Defines

#define LL_TIM_TIM1_ETRSOURCE_GPIO   0x00000000U /* !< TIM1_ETR is connected to GPIO */
#define LL_TIM_TIM1_ETRSOURCE_COMP1   TIM1_AF1_ETRSEL_0 /* !< TIM1_ETR is connected to COMP1 OUT */
#define LL_TIM_TIM1_ETRSOURCE_COMP2   TIM1_AF1_ETRSEL_1 /* !< TIM1_ETR is connected to COMP2 OUT */
#define LL_TIM_TIM1_ETRSOURCE_ADC1_AWD1   (TIM1_AF1_ETRSEL_1 | TIM1_AF1_ETRSEL_0) /* !< TIM1_ETR is connected to ADC1 AWD1 */
#define LL_TIM_TIM1_ETRSOURCE_ADC1_AWD2   (TIM1_AF1_ETRSEL_2) /* !< TIM1_ETR is connected to ADC1 AWD2 */
#define LL_TIM_TIM1_ETRSOURCE_ADC1_AWD3   (TIM1_AF1_ETRSEL_2 | TIM1_AF1_ETRSEL_0) /* !< TIM1_ETR is connected to ADC1 AWD3 */
#define LL_TIM_TIM1_ETRSOURCE_ADC3_AWD1   (TIM1_AF1_ETRSEL_2 | TIM1_AF1_ETRSEL_1) /* !< TIM1_ETR is connected to ADC3 AWD1 */
#define LL_TIM_TIM1_ETRSOURCE_ADC3_AWD2   (TIM1_AF1_ETRSEL_2 | TIM1_AF1_ETRSEL_1 | TIM1_AF1_ETRSEL_0) /* !< TIM1_ETR is connected to ADC3 AWD2 */
#define LL_TIM_TIM1_ETRSOURCE_ADC3_AWD3   TIM1_AF1_ETRSEL_3 /* !< TIM1_ETR is connected to ADC3 AWD3 */
#define LL_TIM_TIM8_ETRSOURCE_GPIO   0x00000000U /* !< TIM8_ETR is connected to GPIO */
#define LL_TIM_TIM8_ETRSOURCE_COMP1   TIM8_AF1_ETRSEL_0 /* !< TIM8_ETR is connected to COMP1 OUT */
#define LL_TIM_TIM8_ETRSOURCE_COMP2   TIM8_AF1_ETRSEL_1 /* !< TIM8_ETR is connected to COMP2 OUT */
#define LL_TIM_TIM8_ETRSOURCE_ADC2_AWD1   (TIM8_AF1_ETRSEL_1 | TIM8_AF1_ETRSEL_0) /* !< TIM8_ETR is connected to ADC2 AWD1 */
#define LL_TIM_TIM8_ETRSOURCE_ADC2_AWD2   (TIM8_AF1_ETRSEL_2) /* !< TIM8_ETR is connected to ADC2 AWD2 */
#define LL_TIM_TIM8_ETRSOURCE_ADC2_AWD3   (TIM8_AF1_ETRSEL_2 | TIM8_AF1_ETRSEL_0) /* !< TIM8_ETR is connected to ADC2 AWD3 */
#define LL_TIM_TIM8_ETRSOURCE_ADC3_AWD1   (TIM8_AF1_ETRSEL_2 | TIM8_AF1_ETRSEL_1) /* !< TIM8_ETR is connected to ADC3 AWD1 */
#define LL_TIM_TIM8_ETRSOURCE_ADC3_AWD2   (TIM8_AF1_ETRSEL_2 | TIM8_AF1_ETRSEL_1 | TIM8_AF1_ETRSEL_0) /* !< TIM8_ETR is connected to ADC3 AWD2 */
#define LL_TIM_TIM8_ETRSOURCE_ADC3_AWD3   TIM8_AF1_ETRSEL_3 /* !< TIM8_ETR is connected to ADC3 AWD3 */
#define LL_TIM_TIM2_ETRSOURCE_GPIO   0x00000000U /* !< TIM2_ETR is connected to GPIO */
#define LL_TIM_TIM2_ETRSOURCE_COMP1   (TIM2_AF1_ETRSEL_0) /* !< TIM2_ETR is connected to COMP1 OUT */
#define LL_TIM_TIM2_ETRSOURCE_COMP2   (TIM2_AF1_ETRSEL_1) /* !< TIM2_ETR is connected to COMP2 OUT */
#define LL_TIM_TIM2_ETRSOURCE_RCC_LSE   (TIM2_AF1_ETRSEL_1 | TIM8_AF1_ETRSEL_0) /* !< TIM2_ETR is connected to RCC LSE */
#define LL_TIM_TIM2_ETRSOURCE_SAI1_FSA   TIM2_AF1_ETRSEL_2 /* !< TIM2_ETR is connected to SAI1 FS_A */
#define LL_TIM_TIM2_ETRSOURCE_SAI1_FSB   (TIM2_AF1_ETRSEL_2 | TIM8_AF1_ETRSEL_0) /* !< TIM2_ETR is connected to SAI1 FS_B */
#define LL_TIM_TIM3_ETRSOURCE_GPIO   0x00000000U /* !< TIM3_ETR is connected to GPIO */
#define LL_TIM_TIM3_ETRSOURCE_COMP1   TIM3_AF1_ETRSEL_0 /* !< TIM3_ETR is connected to COMP1 OUT */
#define LL_TIM_TIM5_ETRSOURCE_GPIO   0x00000000U /* !< TIM5_ETR is connected to GPIO */
#define LL_TIM_TIM5_ETRSOURCE_SAI2_FSA   TIM5_AF1_ETRSEL_0 /* !< TIM5_ETR is connected to SAI2 FS_A */
#define LL_TIM_TIM5_ETRSOURCE_SAI2_FSB   TIM5_AF1_ETRSEL_1 /* !< TIM5_ETR is connected to SAI2 FS_B */
#define LL_TIM_TIM5_ETRSOURCE_SAI4_FSA   TIM5_AF1_ETRSEL_0 /* !< TIM5_ETR is connected to SAI4 FS_A */
#define LL_TIM_TIM5_ETRSOURCE_SAI4_FSB   TIM5_AF1_ETRSEL_1 /* !< TIM5_ETR is connected to SAI4 FS_B */
#define LL_TIM_TIM23_ETRSOURCE_GPIO   0x00000000U /* !< TIM23_ETR is connected to GPIO */
#define LL_TIM_TIM23_ETRSOURCE_COMP1   (TIM2_AF1_ETRSEL_0) /* !< TIM23_ETR is connected to COMP1 OUT */
#define LL_TIM_TIM23_ETRSOURCE_COMP2   (TIM2_AF1_ETRSEL_1) /* !< TIM23_ETR is connected to COMP2 OUT */
#define LL_TIM_TIM24_ETRSOURCE_GPIO   0x00000000U /* !< TIM24_ETR is connected to GPIO */
#define LL_TIM_TIM24_ETRSOURCE_SAI4_FSA   TIM5_AF1_ETRSEL_0 /* !< TIM24_ETR is connected to SAI4 FS_A */
#define LL_TIM_TIM24_ETRSOURCE_SAI4_FSB   TIM5_AF1_ETRSEL_1 /* !< TIM24_ETR is connected to SAI4 FS_B */
#define LL_TIM_TIM24_ETRSOURCE_SAI1_FSA   (TIM2_AF1_ETRSEL_1 | TIM8_AF1_ETRSEL_0) /* !< TIM24_ETR is connected to SAI1 FS_A */
#define LL_TIM_TIM24_ETRSOURCE_SAI1_FSB   TIM2_AF1_ETRSEL_2 /* !< TIM24_ETR is connected to SAI1 FS_B */

Define Documentation

#define LL_TIM_TIM1_ETRSOURCE_ADC1_AWD1   (TIM1_AF1_ETRSEL_1 | TIM1_AF1_ETRSEL_0) /* !< TIM1_ETR is connected to ADC1 AWD1 */

Definition at line 985 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM1_ETRSOURCE_ADC1_AWD2   (TIM1_AF1_ETRSEL_2) /* !< TIM1_ETR is connected to ADC1 AWD2 */

Definition at line 986 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM1_ETRSOURCE_ADC1_AWD3   (TIM1_AF1_ETRSEL_2 | TIM1_AF1_ETRSEL_0) /* !< TIM1_ETR is connected to ADC1 AWD3 */

Definition at line 987 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM1_ETRSOURCE_ADC3_AWD1   (TIM1_AF1_ETRSEL_2 | TIM1_AF1_ETRSEL_1) /* !< TIM1_ETR is connected to ADC3 AWD1 */

Definition at line 988 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM1_ETRSOURCE_ADC3_AWD2   (TIM1_AF1_ETRSEL_2 | TIM1_AF1_ETRSEL_1 | TIM1_AF1_ETRSEL_0) /* !< TIM1_ETR is connected to ADC3 AWD2 */

Definition at line 989 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM1_ETRSOURCE_ADC3_AWD3   TIM1_AF1_ETRSEL_3 /* !< TIM1_ETR is connected to ADC3 AWD3 */

Definition at line 990 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM1_ETRSOURCE_COMP1   TIM1_AF1_ETRSEL_0 /* !< TIM1_ETR is connected to COMP1 OUT */

Definition at line 983 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM1_ETRSOURCE_COMP2   TIM1_AF1_ETRSEL_1 /* !< TIM1_ETR is connected to COMP2 OUT */

Definition at line 984 of file stm32h7xx_ll_tim.h.

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

Definition at line 982 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM23_ETRSOURCE_COMP1   (TIM2_AF1_ETRSEL_0) /* !< TIM23_ETR is connected to COMP1 OUT */

Definition at line 1019 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM23_ETRSOURCE_COMP2   (TIM2_AF1_ETRSEL_1) /* !< TIM23_ETR is connected to COMP2 OUT */

Definition at line 1020 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM23_ETRSOURCE_GPIO   0x00000000U /* !< TIM23_ETR is connected to GPIO */

Definition at line 1018 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM24_ETRSOURCE_GPIO   0x00000000U /* !< TIM24_ETR is connected to GPIO */

Definition at line 1022 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM24_ETRSOURCE_SAI1_FSA   (TIM2_AF1_ETRSEL_1 | TIM8_AF1_ETRSEL_0) /* !< TIM24_ETR is connected to SAI1 FS_A */

Definition at line 1025 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM24_ETRSOURCE_SAI1_FSB   TIM2_AF1_ETRSEL_2 /* !< TIM24_ETR is connected to SAI1 FS_B */

Definition at line 1026 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM24_ETRSOURCE_SAI4_FSA   TIM5_AF1_ETRSEL_0 /* !< TIM24_ETR is connected to SAI4 FS_A */

Definition at line 1023 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM24_ETRSOURCE_SAI4_FSB   TIM5_AF1_ETRSEL_1 /* !< TIM24_ETR is connected to SAI4 FS_B */

Definition at line 1024 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM2_ETRSOURCE_COMP1   (TIM2_AF1_ETRSEL_0) /* !< TIM2_ETR is connected to COMP1 OUT */

Definition at line 1003 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM2_ETRSOURCE_COMP2   (TIM2_AF1_ETRSEL_1) /* !< TIM2_ETR is connected to COMP2 OUT */

Definition at line 1004 of file stm32h7xx_ll_tim.h.

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

Definition at line 1002 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM2_ETRSOURCE_RCC_LSE   (TIM2_AF1_ETRSEL_1 | TIM8_AF1_ETRSEL_0) /* !< TIM2_ETR is connected to RCC LSE */

Definition at line 1005 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM2_ETRSOURCE_SAI1_FSA   TIM2_AF1_ETRSEL_2 /* !< TIM2_ETR is connected to SAI1 FS_A */

Definition at line 1006 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM2_ETRSOURCE_SAI1_FSB   (TIM2_AF1_ETRSEL_2 | TIM8_AF1_ETRSEL_0) /* !< TIM2_ETR is connected to SAI1 FS_B */

Definition at line 1007 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM3_ETRSOURCE_COMP1   TIM3_AF1_ETRSEL_0 /* !< TIM3_ETR is connected to COMP1 OUT */

Definition at line 1010 of file stm32h7xx_ll_tim.h.

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

Definition at line 1009 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM5_ETRSOURCE_GPIO   0x00000000U /* !< TIM5_ETR is connected to GPIO */

Definition at line 1012 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM5_ETRSOURCE_SAI2_FSA   TIM5_AF1_ETRSEL_0 /* !< TIM5_ETR is connected to SAI2 FS_A */

Definition at line 1013 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM5_ETRSOURCE_SAI2_FSB   TIM5_AF1_ETRSEL_1 /* !< TIM5_ETR is connected to SAI2 FS_B */

Definition at line 1014 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM5_ETRSOURCE_SAI4_FSA   TIM5_AF1_ETRSEL_0 /* !< TIM5_ETR is connected to SAI4 FS_A */

Definition at line 1015 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM5_ETRSOURCE_SAI4_FSB   TIM5_AF1_ETRSEL_1 /* !< TIM5_ETR is connected to SAI4 FS_B */

Definition at line 1016 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM8_ETRSOURCE_ADC2_AWD1   (TIM8_AF1_ETRSEL_1 | TIM8_AF1_ETRSEL_0) /* !< TIM8_ETR is connected to ADC2 AWD1 */

Definition at line 995 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM8_ETRSOURCE_ADC2_AWD2   (TIM8_AF1_ETRSEL_2) /* !< TIM8_ETR is connected to ADC2 AWD2 */

Definition at line 996 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM8_ETRSOURCE_ADC2_AWD3   (TIM8_AF1_ETRSEL_2 | TIM8_AF1_ETRSEL_0) /* !< TIM8_ETR is connected to ADC2 AWD3 */

Definition at line 997 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM8_ETRSOURCE_ADC3_AWD1   (TIM8_AF1_ETRSEL_2 | TIM8_AF1_ETRSEL_1) /* !< TIM8_ETR is connected to ADC3 AWD1 */

Definition at line 998 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM8_ETRSOURCE_ADC3_AWD2   (TIM8_AF1_ETRSEL_2 | TIM8_AF1_ETRSEL_1 | TIM8_AF1_ETRSEL_0) /* !< TIM8_ETR is connected to ADC3 AWD2 */

Definition at line 999 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM8_ETRSOURCE_ADC3_AWD3   TIM8_AF1_ETRSEL_3 /* !< TIM8_ETR is connected to ADC3 AWD3 */

Definition at line 1000 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM8_ETRSOURCE_COMP1   TIM8_AF1_ETRSEL_0 /* !< TIM8_ETR is connected to COMP1 OUT */

Definition at line 993 of file stm32h7xx_ll_tim.h.

#define LL_TIM_TIM8_ETRSOURCE_COMP2   TIM8_AF1_ETRSEL_1 /* !< TIM8_ETR is connected to COMP2 OUT */

Definition at line 994 of file stm32h7xx_ll_tim.h.

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

Definition at line 992 of file stm32h7xx_ll_tim.h.