Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
STM32 timing functions. More...
Go to the source code of this file.
Macros | |
#define | USE_OCM3_SYSTICK_INIT 1 |
Functions | |
void | sys_tick_handler (void) |
void | sys_time_arch_init (void) |
Initialize SysTick. More... | |
STM32 timing functions.
Definition in file sys_time_arch.c.
#define USE_OCM3_SYSTICK_INIT 1 |
Definition at line 39 of file sys_time_arch.c.
void sys_tick_handler | ( | void | ) |
Definition at line 75 of file sys_time_arch.c.
References sys_time_timer::cb, sys_time::cpu_ticks_per_sec, sys_time_timer::duration, sys_time_timer::elapsed, sys_time_timer::end_time, sys_time_timer::in_use, LED_TOGGLE, sys_time::nb_sec, sys_time::nb_sec_rem, sys_time::nb_tick, sys_time::resolution_cpu_ticks, SYS_TIME_NB_TIMER, and sys_time::timer.
void sys_time_arch_init | ( | void | ) |
Initialize SysTick.
Generate SysTick interrupt every sys_time.resolution_cpu_ticks
Definition at line 47 of file sys_time_arch.c.
References AHB_CLK, sys_time::cpu_ticks_per_sec, sys_time::resolution, and sys_time::resolution_cpu_ticks.