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

LL_LPTIM_ConfigOutput() function

Configure the LPTIM instance output (LPTIMx_OUT)

Syntax

__STATIC_INLINE void LL_LPTIM_ConfigOutput(LPTIM_TypeDef *LPTIMx,     uint32_t Waveform,     uint32_t Polarity);

Arguments

LPTIMx

Low-Power Timer instance

Waveform

This parameter can be one of the following values: @arg LL_LPTIM_OUTPUT_WAVEFORM_PWM @arg LL_LPTIM_OUTPUT_WAVEFORM_SETONCE

Polarity

This parameter can be one of the following values: @arg LL_LPTIM_OUTPUT_POLARITY_REGULAR @arg LL_LPTIM_OUTPUT_POLARITY_INVERSE

Return value

None

Notes

This function must be called when the LPTIM instance is disabled. Regarding the LPTIM output polarity the change takes effect immediately, so the output default value will change immediately after the polarity is re-configured, even before the timer is enabled. CFGR WAVPOL LL_LPTIM_ConfigOutput

References

LocationText
stm32f4xx_ll_lptim.h:535
__STATIC_INLINE void LL_LPTIM_ConfigOutput(LPTIM_TypeDef *LPTIMx, uint32_t Waveform, uint32_t Polarity)

Data Use

Data read by LL_LPTIM_ConfigOutput()
LL_LPTIM_ConfigOutput()