cancel
Showing results for 
Search instead for 
Did you mean: 

Setting a low-level timer

GMeur
Senior

Hi,

What method would you recommed to set up a low-level timer on my board? HAL libraries ? Configuring directly the registers ? Something else?

EDIT : I'm asking cause I'd like to measure the time it takes to perform a certain action (say color the background with a given image) and setting a low-level timer is the only way I see to do that.

2 REPLIES 2
Martin KJELDSEN
Chief III

Hi @GMeur​,

You could use the SysTick timer or a dedicated hardware timer.

Do you have any sample code or tutorials to guide me?

Thanks.