Skip to main content
GMeur
Associate III
February 12, 2019
Question

Setting a low-level timer

  • February 12, 2019
  • 2 replies
  • 788 views

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
February 13, 2019

Hi @GMeur​,

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

GMeur
GMeurAuthor
Associate III
February 14, 2019

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

Thanks.