-
- Downloads
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:Sasan Golchin <ahmad.golchin@mail.polimi.it> Signed-off-by:
Terraneo Federico <fede.tft@miosix.org>
Showing
- Makefile 1 addition, 1 deletionMakefile
- main.cpp 15 additions, 32 deletionsmain.cpp
- miosix/arch/cortexM4_stm32f4/common/interfaces-impl/cstimer.cpp 43 additions, 28 deletions.../arch/cortexM4_stm32f4/common/interfaces-impl/cstimer.cpp
- miosix/arch/cortexM4_stm32f4/common/interfaces-impl/portability.cpp 8 additions, 0 deletions...h/cortexM4_stm32f4/common/interfaces-impl/portability.cpp
- miosix/config/Makefile.inc 1 addition, 0 deletionsmiosix/config/Makefile.inc
- miosix/interfaces/cstimer.h 1 addition, 1 deletionmiosix/interfaces/cstimer.h
Loading
Please register or sign in to comment