Skip to main content
ETone.1
Associate
March 19, 2021
Question

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

  • March 19, 2021
  • 2 replies
  • 833 views

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

This topic has been closed for replies.

2 replies

waclawek.jan
Super User
March 19, 2021

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

JW