|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
38 #define SYS_TICK_IT TIR_MR0I
40 #if defined ACTUATORS && ( defined SERVOS_4017 || defined SERVOS_4015_MAT || defined SERVOS_PPM_MAT)
41 #ifdef SERVOS_4015_MAT
42 #include "subsystems/actuators/servos_4015_MAT_hw.h"
45 #include "subsystems/actuators/servos_4017_hw.h"
48 #include "subsystems/actuators/servos_ppm_hw.h"
51 #define ACTUATORS_IT 0x00
54 #if defined RADIO_CONTROL && defined RADIO_CONTROL_TYPE_PPM
63 #define MB_SCALE_IT 0x00
69 #define MB_TACHO_IT 0x00
75 #ifndef USE_PWM_INPUT1
76 #define PWM_INPUT_IT1 0x00
78 #ifndef USE_PWM_INPUT2
79 #define PWM_INPUT_IT2 0x00
85 #define AMI601_IT 0x00
89 #include "core/trigger_ext_hw.h"
91 #define TRIGGER_IT 0x00
94 #define TIMER0_IT_MASK (SYS_TICK_IT | \
115 T0PR = T0_PCLK_DIV - 1;
190 #if defined ACTUATORS && ( defined SERVOS_4017 || defined SERVOS_4015_MAT || defined SERVOS_PPM_MAT)
195 #ifdef SERVOS_4015_MAT
198 #ifdef SERVOS_PPM_MAT
205 #if defined RADIO_CONTROL && defined RADIO_CONTROL_TYPE_PPM
230 #ifdef USE_PWM_INPUT1
236 #ifdef USE_PWM_INPUT2
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
#define SERVOS_4017_ISR()
static void sys_tick_irq_handler(void)
volatile uint32_t nb_tick
SYS_TIME_TICKS since startup.
#define ServosPPMMat_ISR()
Architecture independent timing functions.
#define Servos4015Mat_ISR()
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