Paparazzi UAS
v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
|
#include "subsystems/actuators.h"
#include "armVIC.h"
#include "generated/airframe.h"
#include "mcu_periph/sys_time.h"
Go to the source code of this file.
Macros | |
#define | PWMMR_SERV0 PWMMR5 |
#define | PWMMR_SERV1 PWMMR2 |
#define | PWMLER_LATCH_SERV0 PWMLER_LATCH5 |
#define | PWMLER_LATCH_SERV1 PWMLER_LATCH2 |
#define | PWMMCR_MRI_SERV0 PWMMCR_MR5I |
#define | PWMMCR_MRI_SERV1 PWMMCR_MR2I |
#define | PWMPCR_ENA_SERV0 PWMPCR_ENA5 |
#define | PWMPCR_ENA_SERV1 PWMPCR_ENA2 |
#define | PWMIR_MRI_SERV0 PWMIR_MR5I |
#define | PWMIR_MRI_SERV1 PWMIR_MR2I |
#define | PWM_VIC_SLOT 3 |
#define | SERVO_REFRESH_TICS SERVOS_TICS_OF_USEC(25000) |
Functions | |
void | actuators_4015_init (void) |
void | PWM_ISR (void) |
Variables | |
uint16_t | servos_values [_4015_NB_CHANNELS] |
static uint8_t | servos_idx = 0 |
static uint32_t | servos_delay |
#define PWM_VIC_SLOT 3 |
Definition at line 43 of file servos_4015_hw.c.
Referenced by actuators_4015_init().
#define PWMIR_MRI_SERV0 PWMIR_MR5I |
Definition at line 39 of file servos_4015_hw.c.
#define PWMIR_MRI_SERV1 PWMIR_MR2I |
Definition at line 40 of file servos_4015_hw.c.
Referenced by PWM_ISR().
#define PWMLER_LATCH_SERV0 PWMLER_LATCH5 |
Definition at line 33 of file servos_4015_hw.c.
#define PWMLER_LATCH_SERV1 PWMLER_LATCH2 |
Definition at line 34 of file servos_4015_hw.c.
Referenced by actuators_4015_init().
#define PWMMCR_MRI_SERV0 PWMMCR_MR5I |
Definition at line 35 of file servos_4015_hw.c.
#define PWMMCR_MRI_SERV1 PWMMCR_MR2I |
Definition at line 36 of file servos_4015_hw.c.
Referenced by actuators_4015_init().
#define PWMMR_SERV0 PWMMR5 |
Definition at line 31 of file servos_4015_hw.c.
#define PWMMR_SERV1 PWMMR2 |
Definition at line 32 of file servos_4015_hw.c.
Referenced by actuators_4015_init().
#define PWMPCR_ENA_SERV0 PWMPCR_ENA5 |
Definition at line 37 of file servos_4015_hw.c.
#define PWMPCR_ENA_SERV1 PWMPCR_ENA2 |
Definition at line 38 of file servos_4015_hw.c.
Referenced by actuators_4015_init().
#define SERVO_REFRESH_TICS SERVOS_TICS_OF_USEC(25000) |
Definition at line 98 of file servos_4015_hw.c.
Referenced by actuators_4015_init(), actuators_ppm_init(), and PWM_ISR().
void actuators_4015_init | ( | void | ) |
Definition at line 46 of file servos_4015_hw.c.
void PWM_ISR | ( | void | ) |
Definition at line 104 of file servos_4015_hw.c.
Referenced by actuators_4015_init().
|
static |
Definition at line 102 of file servos_4015_hw.c.
Referenced by PWM_ISR().
|
static |
Definition at line 101 of file servos_4015_hw.c.
Referenced by PWM_ISR().
uint16_t servos_values[_4015_NB_CHANNELS] |
Definition at line 29 of file servos_4015_hw.c.
Referenced by actuators_4015_init(), and PWM_ISR().