|
STM32 RTOS 0.2.3
Bare-metal preemptive RTOS for STM32F446RE
|
SysTick driver: the periodic tick timer. More...
Go to the source code of this file.
Functions | |
| DRIVER_MUST_CHECK DriverStatus_e | systickInit (SysTickRegisters_t *systick, uint32_t core_hz, uint32_t tick_hz) |
Start SysTick at tick_hz from the processor clock, with its interrupt on. | |
| void | systickDeinit (SysTickRegisters_t *systick) |
| Stop SysTick and zero CTRL, LOAD and VAL. | |
SysTick driver: the periodic tick timer.
Programs the timer only: SysTick_Handler and any tick count belong to the kernel. SysTick counts down from LOAD to 0 and reloads, so the period is LOAD + 1 processor clocks: 2 at minimum and 2^24 at most.
Definition in file systick.h.