Paparazzi UAS  v6.2_unstable
Paparazzi is a free software Unmanned Aircraft System.
sys_time_arch.c File Reference
#include "mcu_periph/sys_time.h"
#include "libopencm3/cm3/systick.h"
+ Include dependency graph for sys_time_arch.c:

Go to the source code of this file.




void sys_tick_handler (void)
void sys_time_arch_init (void)
 Initialize SysTick. More...

Detailed Description

STM32 timing functions.

Definition in file sys_time_arch.c.

Macro Definition Documentation



Definition at line 39 of file sys_time_arch.c.

Function Documentation

◆ sys_tick_handler()

◆ sys_time_arch_init()

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, CH_CFG_ST_FREQUENCY, sys_time::cpu_ticks_per_sec, sys_time::resolution, sys_time::resolution_cpu_ticks, and thd_sys_tick().

+ Here is the call graph for this function: