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

LL_TIM_IC_SetPolarity() function

Set the input channel polarity. CCER CC1NP LL_TIM_IC_SetPolarity\n CCER CC2P LL_TIM_IC_SetPolarity\n CCER CC2NP LL_TIM_IC_SetPolarity\n CCER CC3P LL_TIM_IC_SetPolarity\n CCER CC3NP LL_TIM_IC_SetPolarity\n CCER CC4P LL_TIM_IC_SetPolarity\n CCER CC4NP LL_TIM_IC_SetPolarity

Syntax

__STATIC_INLINE void LL_TIM_IC_SetPolarity(TIM_TypeDef *TIMx,     uint32_t Channel,     uint32_t ICPolarity);

Arguments

TIMx

Timer instance

Channel

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

ICPolarity

This parameter can be one of the following values: @arg LL_TIM_IC_POLARITY_RISING @arg LL_TIM_IC_POLARITY_FALLING @arg LL_TIM_IC_POLARITY_BOTHEDGE

Return value

None

Examples

LL_TIM_IC_SetPolarity() is referenced by 2 libraries and example projects.

References

LocationText
stm32f4xx_ll_tim.h:2490
__STATIC_INLINE void LL_TIM_IC_SetPolarity(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ICPolarity)

Data Use

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