Skip to content
Snippets Groups Projects
Commit d567da4c authored by Sasan Golchin's avatar Sasan Golchin Committed by Federico
Browse files

TIM2 is a 32-bit Timer/Counter with 4 Compare/Capture channels.

In this subproject, an 64 bit apriodic timer is created based on
TIM2 in which the overflow is managed automatically and the user
is able to set checkpoints (in terms of timer ticks) to fire IRQ.

An expected usecase is the use this driver as the context switch
tool for the kernel.
There might be some errors in which overflows/checkpoints are not
managed correctly that will be OK asap.

Signed-off-by: default avatarsasan_golchin <ahmad.golchin@mail.polimi.it>

Signed-off-by: default avatarsasan_golchin <ahmad.golchin@mail.polimi.it>
Signed-off-by: default avatarTerraneo Federico <fede.tft@miosix.org>
parent e33f56fb
Branches
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment