Skip to main content
GMeur
Associate III
Feb 12, 2019 7:53 AM UTC
Question

Setting a low-level timer

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.

This topic has been closed for replies.

2 replies

Martin KJELDSEN
Principal III
Feb 13, 2019 10:59 AM UTC

Hi @GMeur​,

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

GMeur
GMeurAuthor
Associate III
Feb 14, 2019 3:33 PM UTC

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

Thanks.