Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
sys_time_arch.c File Reference

STM32 timing functions. More...

#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.

Macros

#define USE_OCM3_SYSTICK_INIT   1
 

Functions

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

#define USE_OCM3_SYSTICK_INIT   1

Definition at line 39 of file sys_time_arch.c.

Function Documentation

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, sys_time::resolution_cpu_ticks, startup_time, sys_time_thread, and sys_time_thread_main().

+ Here is the call graph for this function: