Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Simulator timing functions. More...
#include "std.h"
Go to the source code of this file.
Functions | |
void | sys_tick_handler (void) |
static uint32_t | get_sys_time_usec (void) |
Get the time in microseconds since startup. More... | |
static uint32_t | get_sys_time_usec100 (void) |
Get the time in 100microseconds since startup. More... | |
static uint32_t | get_sys_time_msec (void) |
Get the time in milliseconds since startup. More... | |
static void | sys_time_usleep (uint32_t us) |
Simulator timing functions.
Definition in file sys_time_arch.h.
|
inlinestatic |
Get the time in milliseconds since startup.
Definition at line 59 of file sys_time_arch.h.
References msec_of_cpu_ticks(), sys_time::nb_sec, and sys_time::nb_sec_rem.
|
inlinestatic |
Get the time in microseconds since startup.
Definition at line 39 of file sys_time_arch.h.
References sys_time::nb_sec, sys_time::nb_sec_rem, and usec_of_cpu_ticks().
|
inlinestatic |
Get the time in 100microseconds since startup.
Definition at line 49 of file sys_time_arch.h.
References sys_time::nb_sec, sys_time::nb_sec_rem, and usec_of_cpu_ticks().
void sys_tick_handler | ( | void | ) |
Definition at line 38 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.
|
inlinestatic |
Definition at line 66 of file sys_time_arch.h.