Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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

◆ USE_OCM3_SYSTICK_INIT

#define USE_OCM3_SYSTICK_INIT   1

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