stm32: timer: fix trigger selection names
correct TIMx_SMCR TS[2:0]: Trigger selection name are TI1F_ED, TI1FP1, TI2FP2 according to RM0008 and RM0090
This commit is contained in:
parent
492a943b7e
commit
c759ba59d0
@ -546,11 +546,11 @@ specific memorymap.h header before including this header file.*/
|
|||||||
/** Internal Trigger 3 (ITR3) */
|
/** Internal Trigger 3 (ITR3) */
|
||||||
#define TIM_SMCR_TS_ITR3 (0x3 << 4)
|
#define TIM_SMCR_TS_ITR3 (0x3 << 4)
|
||||||
/** TI1 Edge Detector (TI1F_ED) */
|
/** TI1 Edge Detector (TI1F_ED) */
|
||||||
#define TIM_SMCR_TS_IT1F_ED (0x4 << 4)
|
#define TIM_SMCR_TS_TI1F_ED (0x4 << 4)
|
||||||
/** Filtered Timer Input 1 (TI1FP1) */
|
/** Filtered Timer Input 1 (TI1FP1) */
|
||||||
#define TIM_SMCR_TS_IT1FP1 (0x5 << 4)
|
#define TIM_SMCR_TS_TI1FP1 (0x5 << 4)
|
||||||
/** Filtered Timer Input 2 (TI1FP2) */
|
/** Filtered Timer Input 2 (TI2FP2) */
|
||||||
#define TIM_SMCR_TS_IT1FP2 (0x6 << 4)
|
#define TIM_SMCR_TS_TI2FP2 (0x6 << 4)
|
||||||
/** External Trigger input (ETRF) */
|
/** External Trigger input (ETRF) */
|
||||||
#define TIM_SMCR_TS_ETRF (0x7 << 4)
|
#define TIM_SMCR_TS_ETRF (0x7 << 4)
|
||||||
#define TIM_SMCR_TS_MASK (0x7 << 4)
|
#define TIM_SMCR_TS_MASK (0x7 << 4)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user