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

Context Switch Timer Interface


A generic interface miosix::ContextSwitchTimer has been added to the
kernel that can play the role of either periodic/aperiodic system timer.
Like other kernel interfaces, there should be provided a proper
implementation for cstimer.

Currently the only available implementation is done for cortexM4_stm32f
which is based on TIM2 timer. Although the implementation is an
aperiodic timer, it is set to act like a periodic timer with T=1ms.

Signed-off-by: default avatarSasan Golchin <ahmad.golchin@mail.polimi.it>
Signed-off-by: default avatarTerraneo Federico <fede.tft@miosix.org>
parent 36e6b6e3
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment