HAL + 0/1 examples
CodeScope will show references to LL_TIM_OC_SetPolarity() from the following samples and libraries:
Examples
STM32F411RE-Nucleo
Examples_LL
TIM
 
Symbols
loading...
Files
loading...

LL_TIM_OC_SetPolarity() function

Set the polarity of an output channel. CCER CC1NP LL_TIM_OC_SetPolarity\n CCER CC2P LL_TIM_OC_SetPolarity\n CCER CC2NP LL_TIM_OC_SetPolarity\n CCER CC3P LL_TIM_OC_SetPolarity\n CCER CC3NP LL_TIM_OC_SetPolarity\n CCER CC4P LL_TIM_OC_SetPolarity

Syntax

__STATIC_INLINE void LL_TIM_OC_SetPolarity(TIM_TypeDef *TIMx,     uint32_t Channel,     uint32_t Polarity);

Arguments

TIMx

Timer instance

Channel

This parameter can be one of the following values: @arg LL_TIM_CHANNEL_CH1 @arg LL_TIM_CHANNEL_CH1N @arg LL_TIM_CHANNEL_CH2 @arg LL_TIM_CHANNEL_CH2N @arg LL_TIM_CHANNEL_CH3 @arg LL_TIM_CHANNEL_CH3N @arg LL_TIM_CHANNEL_CH4

Polarity

This parameter can be one of the following values: @arg LL_TIM_OCPOLARITY_HIGH @arg LL_TIM_OCPOLARITY_LOW

Return value

None

Examples

LL_TIM_OC_SetPolarity() is referenced by 1 libraries and example projects.

References

LocationText
stm32f4xx_ll_tim.h:1793
__STATIC_INLINE void LL_TIM_OC_SetPolarity(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Polarity)

Data Use

Data read by LL_TIM_OC_SetPolarity()
LL_TIM_OC_SetPolarity()
Type of LL_TIM_OC_SetPolarity()
LL_TIM_OC_SetPolarity()
uint8_t
all items filtered out