cancel
Showing results for 
Search instead for 
Did you mean: 

Does STM32 has "pulse counter register"?

Dat Tran
Senior II

Hi, anyone know there is a register that can count the pulse directly on STM32H7?

I know there is a timer in capture mode, it can generate interrupt when detected edge high or low. But this counter does count the period time only, does not count how many time edge was high or low.

We can count every time interrupt is triggered but it is slow, we are looking for the register that store this value directly.

Thanks

2 REPLIES 2
berendi
Principal

Look for the external clock mode (ECM) feature of the timers, Clock selection in the timer functional description chapter.

Dat Tran
Senior II

Thanks a lot, look like that is what we are looking for.