cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to modify ongoing ic polarity using HAL libraries?

ETone.1
Associate II

I need to modify ongoing the ic polarity of a timer input capture channel. I could act by changing

change TIM_CCER_CC1P directly, but i want to know if there is any other solution using HAL libraries.

I'm using an STM32G0 mc

Thank you in advance.

Enrico Tonetto

Deasystem

2 REPLIES 2

Cube/HAL is open source, you can look it up yourself. It will be a macro which will change the very same bit.

JW