2021-03-19 04:06 AM
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
2021-03-19 04:20 AM
Cube/HAL is open source, you can look it up yourself. It will be a macro which will change the very same bit.
JW
2021-03-19 04:23 AM