HAL
LL_LPTIM_ConfigTrigger() is only used within HAL.
 
Symbols
loading...
Files
loading...

LL_LPTIM_ConfigTrigger() function

Configure the external trigger used as a trigger event for the LPTIM.

Syntax

__STATIC_INLINE void LL_LPTIM_ConfigTrigger(LPTIM_TypeDef *LPTIMx,     uint32_t Source,     uint32_t Filter,     uint32_t Polarity);

Arguments

LPTIMx

Low-Power Timer instance

Source

Filter

This parameter can be one of the following values: @arg LL_LPTIM_TRIG_FILTER_NONE @arg LL_LPTIM_TRIG_FILTER_2 @arg LL_LPTIM_TRIG_FILTER_4 @arg LL_LPTIM_TRIG_FILTER_8

Polarity

This parameter can be one of the following values: @arg LL_LPTIM_TRIG_POLARITY_RISING @arg LL_LPTIM_TRIG_POLARITY_FALLING @arg LL_LPTIM_TRIG_POLARITY_RISING_FALLING

Return value

None

Notes

This function must be called when the LPTIM instance is disabled. An internal clock source must be present when a digital filter is required for the trigger. CFGR TRGFLT LL_LPTIM_ConfigTrigger\n CFGR TRIGEN LL_LPTIM_ConfigTrigger

References

LocationText
stm32f4xx_ll_lptim.h:743
__STATIC_INLINE void LL_LPTIM_ConfigTrigger(LPTIM_TypeDef *LPTIMx, uint32_t Source, uint32_t Filter, uint32_t Polarity)