|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
32 #include "libopencm3/cm3/systick.h"
38 #ifndef USE_OCM3_SYSTICK_INIT
39 #define USE_OCM3_SYSTICK_INIT 1
50 #if USE_OCM3_SYSTICK_INIT
51 systick_set_clocksource(STK_CSR_CLKSOURCE_AHB);
58 #if USE_OCM3_SYSTICK_INIT
64 systick_interrupt_enable();
65 systick_counter_enable();
uint32_t cpu_ticks_per_sec
cpu ticks per second
struct sys_time_timer timer[SYS_TIME_NB_TIMER]
uint32_t resolution_cpu_ticks
sys_time_timer resolution in cpu ticks
uint32_t duration
in SYS_TIME_TICKS
void sys_tick_handler(void)
volatile uint32_t nb_tick
SYS_TIME_TICKS since startup.
Architecture independent timing functions.
arch independent LED (Light Emitting Diodes) API
void sys_time_arch_init(void)
#define SYS_TIME_NB_TIMER
volatile uint32_t nb_sec_rem
remainder of seconds since startup in CPU_TICKS
uint32_t end_time
in SYS_TIME_TICKS
volatile uint32_t nb_sec
full seconds since startup
float resolution
sys_time_timer resolution in seconds